« Return to Thread: Patch for improperly set HTTP host header in inets http client

Patch for improperly set HTTP host header in inets http client

by Kelly McLaughlin :: Rate this Message:

Reply to Author | View in Thread

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.


_______________________________________________
erlang-patches mailing list
erlang-patches@...
http://www.erlang.org/mailman/listinfo/erlang-patches

http_host_header.patch (1K) Download Attachment

 « Return to Thread: Patch for improperly set HTTP host header in inets http client