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 #51

Closed
wants to merge 1 commit into from

Commits on Jun 9, 2015

  1. Omit port in Host header for default ports

    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
    Peter Suschlik authored and splattael committed Jun 9, 2015
    Configuration menu
    Copy the full SHA
    65fca49 View commit details
    Browse the repository at this point in the history