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

Include port in default Host header #74

Merged
merged 1 commit into from Sep 9, 2013

Conversation

catwell
Copy link
Member

@catwell catwell commented Aug 14, 2013

See RFC 2616 section 14.23: if the port is not the default it should be included in the Host header.

Currently it is not and it actually results in 404 errors with strict HTTP servers like the Flask stack with SERVER_NAME set.

This pull request fixes this by appending the port if needed.

See RFC 2616 section 14.23.
@catwell
Copy link
Member Author

catwell commented Aug 30, 2013

Ping? I really think you could merge this.

@diegonehab
Copy link
Contributor

Away on annual leave. Will merge next week! :)

Sent from my phone

On Aug 30, 2013, at 16:04, Pierre Chapuis notifications@github.com wrote:

Ping? I really think you could merge this.


Reply to this email directly or view it on GitHub.

@catwell
Copy link
Member Author

catwell commented Sep 6, 2013

OK no problem :) Enjoy your time off.

diegonehab added a commit that referenced this pull request Sep 9, 2013
Include port in default Host header
@diegonehab diegonehab merged commit 244e5d3 into lunarmodules:master Sep 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants