[erlang-bugs] http client relative redirects
Ingela Anderton Andin
ingela@REDACTED
Thu Sep 6 16:23:21 CEST 2007
FYI! (As I was not yet a member of erlang-bugs when I wrote the answer)
Hi!
It is handled if you sepecify the HTTP-option {relaxed, true} in
http:request/4.
Although it is not currently documented, mainly because we have not
really decided on all
things that may be relaxed. But I will add it to the documentation. By
default
the client will conform to the spec.
Regards Ingela -OTP team
> Hey maintainers,
> (As you probably already know) the RFC does state that Location: headers
> are supposed to be absolute
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30
> But IMHO I still think it could be a good idea to try and handle this.
More information about the erlang-bugs
mailing list