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