class HTTPClient::Util::AddressableURI
Public Instance Methods
Source
# File lib/httpclient/util.rb, line 85 def hostname v = self.host /\A\[(.*)\]\z/ =~ v ? $1 : v end
Captured from uri/generic.rb
Source
# File lib/httpclient/util.rb, line 80 def port super || default_port end
HTTPClient
expects urify(“foo/”).port to be not nil but 80 like URI
.
Calls superclass method