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.



271
272
273
# File 'lib/rack/request.rb', line 271

def authority
  forwarded_authority || host_authority || server_authority
end