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

Re: Patch for improperly set HTTP host header in inets http client

by Ingela Anderton Andin :: Rate this Message:

Reply to Author | View in Thread

Hi thank you for the patch I will add it to the upcoming release.

Ingela Andin  Erlang/OTP - Ericsson

Kelly McLaughlin wrote:

> 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

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

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