Method: Rack::Request::Helpers#authority

Defined in:
lib/rack/request.rb

#authorityObject

The authority of the incoming request as defined by RFC3976. tools.ietf.org/html/rfc3986#section-3.2

In HTTP/1, this is the host header. In HTTP/2, this is the :authority pseudo-header.



227
228
229
# File 'lib/rack/request.rb', line 227

def authority
  forwarded_authority || host_authority || server_authority
end