Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow Host header with explicit :80 included #912

Merged
merged 1 commit into from
Apr 12, 2022

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