lib/httpx/extensions.rb in httpx-0.14.5 vs lib/httpx/extensions.rb in httpx-0.15.0

- old
+ new

@@ -76,10 +76,10 @@ @non_ascii_hostname = hostname end def authority port_string = port == default_port ? nil : ":#{port}" - "#{@non_ascii_hostname || host}#{port_string}" + "#{host}#{port_string}" end def origin "#{scheme}://#{authority}" end