Skip to content

Conversation

@0x1eef
Copy link
Contributor

@0x1eef 0x1eef commented Sep 19, 2023

Fix #73:
Net::HTTP.get_response(URI.parse("http://[::1]"))

When the 'Host' header does not wrap an IPv6 address
in brackets, some servers (eg Apache) reject the request
with a 400 status code.

@0x1eef 0x1eef force-pushed the uri_ipv6 branch 2 times, most recently from d9591d1 to 3096ae5 Compare September 19, 2023 11:15
@0x1eef 0x1eef changed the title Add support IPv6 + URI Add support for URI that contains an IPv6 address Sep 19, 2023
Fix ruby#73:
Net::HTTP.get_response(URI.parse("http://[::1]"))

When the 'Host' header does not wrap an IPv6 address
in brackets, some servers (eg Apache) reject the request
with a 400 status code.
@0x1eef
Copy link
Contributor Author

0x1eef commented Apr 2, 2024

It doesn't look like this pull request will be merged. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect Host header for IPv6 addresses

1 participant