Returns the authority for an HTTP
uri, as defined in datatracker.ietf.org/doc/html/rfc3986/#section-3.2.
Example:
URI::HTTP.build(host: 'www.example.com', path: '/foo/bar').authority #=> "www.example.com" URI::HTTP.build(host: 'www.example.com', port: 8000, path: '/foo/bar').authority #=> "www.example.com:8000" URI::HTTP.build(host: 'www.example.com', port: 80, path: '/foo/bar').authority #=> "www.example.com"
Completion
for hash key.
Default stringizing method to emit standard error message.
def operator: () -> String
def operator: () -> String
def operator: () -> String
?
def operator: () -> String
def operator: () -> String
def operator: () -> String
def message: () -> String
?
def operator: () -> String
def message: () -> String
?
def message: () -> String
?
def message: () -> String
?
def operator: () -> String
def message: () -> String
def operator: () -> String
def operator: () -> String
def operator: () -> String
def operator: () -> String
?
def operator: () -> String
def operator: () -> String
def operator: () -> String