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

Omit port in Host header for default ports #3

Merged
merged 1 commit into from Jul 3, 2015
Merged

Conversation

waterlink
Copy link
Owner

Setting default port in Host header break some web servers
like "Apache Coyote".

Most clients don't set this default port too:
* request/request#515 (comment)
* https://github.com/ruby/ruby/blob/d46336e71731aa64d71d4573b2741b7de43ec340/lib/net/http/generic_request.rb#L18
waterlink added a commit that referenced this pull request Jul 3, 2015
Omit port in Host header for default ports
@waterlink waterlink merged commit 88605d0 into master Jul 3, 2015
@waterlink waterlink deleted the neopoly/host_port branch July 3, 2015 21:43
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.

None yet

1 participant