lib/action_dispatch/http/request.rb
# Returns the authorization header regardless of whether it was specified directly or through one of the
# proxy alternatives.
Returns the authorization header regardless of whether it was specified directly or through one of the
proxy alternatives.
Returns the authorization header regardless of whether it was specified directly or through one of the proxy alternatives .
def authorization
      @env['HTTP_AUTHORIZATION']   ||
      @env['X-HTTP_AUTHORIZATION'] ||
      @env['X_HTTP_AUTHORIZATION'] ||
      @env['REDIRECT_X_HTTP_AUTHORIZATION']
    end
def authorization @env [ 'HTTP_AUTHORIZATION' ] || @env [ 'X-HTTP_AUTHORIZATION' ] || @env [ 'X_HTTP_AUTHORIZATION' ] || @env [ 'REDIRECT_X_HTTP_AUTHORIZATION' ] end
Returns the authorization header regardless of whether it was specified directly or through one of the
proxy alternatives.
Returns the authorization header regardless of whether it was specified directly or through one of the proxy alternatives .