Skip to content

Conversation

grelca
Copy link
Contributor

@grelca grelca commented Apr 2, 2022

A valid Host header may explicitly include the port, though it's optional for default ports (ref). Had this come up as an issue WRT integrating https://github.com/fog/fog-aws into an application, which makes requests to http://169.254.169.254:80 as opposed to http://169.254.169.254. This is technically not incorrect, so seemed better to open a PR here than there.

@mtibben mtibben merged commit be9b43d into 99designs:master Apr 12, 2022
@grelca grelca deleted the allow-host-with-port branch April 19, 2022 17:56
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.

2 participants