cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3487618 ] Host header omits port number

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 14 Feb 2012 08:47:33 -0800

Bugs item #3487618, was opened at 2012-02-14 08:47
Message generated for change (Tracker Item Submitted) made by legalize
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3487618&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: http
Group: wrong content
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: legalize (legalize)
Assigned to: Daniel Stenberg (bagder)
Summary: Host header omits port number

Initial Comment:
The Host: header is supposed to include the port number when the port number is not port 80. When using a non-standard port, curl does not include the port number in the Host header, violating the HTTP RFC.

See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3487618&group_id=976
Received on 2012-02-14

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET