[erlang-questions] http:request() and HTTP redirects

Chandru <>
Thu Jan 28 23:19:33 CET 2010


On 28 January 2010 18:36, Konstantin Sorokin <> wrote:
>
> Hello!
>
> When using synchronous http:request() is there a way to know the final
> url retrieved if there were several HTTP redirects ?

I guess the only way would be to disable autoredirect, and your code
follows redirects as it sees them. That way you'll know which URL gave
you the non-redirect response.

cheers
Chandru


More information about the erlang-questions mailing list