[erlang-patches] Patch for improperly set HTTP host header in inets http client

Kelly McLaughlin <>
Fri Feb 6 21:42:09 CET 2009


The inets http client does not properly set the host header when making
requests to a host listening on a port other than 80. This bug was reported
here: http://www.erlang.org/pipermail/erlang-bugs/2009-January/001175.html

This patch appends the port number if the request is directed to a port
other than 80.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20090206/b7245b7e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: http_host_header.patch
Type: application/octet-stream
Size: 938 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20090206/b7245b7e/attachment.obj>


More information about the erlang-patches mailing list