Public Instance methods
authority()
[show source]
# File lib/httpx/extensions.rb 48 def authority 49 return host if port == default_port 50 51 "#{host}:#{port}" 52 end
non_ascii_hostname()
[show source]
# File lib/httpx/extensions.rb 40 def non_ascii_hostname 41 @non_ascii_hostname 42 end
non_ascii_hostname=(hostname)
[show source]
# File lib/httpx/extensions.rb 44 def non_ascii_hostname=(hostname) 45 @non_ascii_hostname = hostname 46 end
origin()
[show source]
# File lib/httpx/extensions.rb 54 def origin 55 "#{scheme}://#{authority}" 56 end