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

'Host' HTTP header does not include the port by default #150

Closed
jmale opened this issue Aug 4, 2014 · 1 comment
Closed

'Host' HTTP header does not include the port by default #150

jmale opened this issue Aug 4, 2014 · 1 comment

Comments

@jmale
Copy link

jmale commented Aug 4, 2014

This causes servers such as Sinatra to report the port as being "80" even when it's not. If you manually set the 'Host' header with the "with_headers" method (so that it includes the port), Sinatra reports the request URL correctly, e.g. via request.url.

@ixti ixti closed this as completed in 0b164b3 Aug 5, 2014
ixti added a commit that referenced this issue Aug 5, 2014
@ixti
Copy link
Member

ixti commented Aug 6, 2014

@jmale Fixed in master. And included into 0.6.2 release.

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

No branches or pull requests

2 participants