[erlang-patches] Auto-redirect should redirect also for POST on '303 See Other'

Hans Svensson hanssv@REDACTED
Thu Jan 17 23:25:24 CET 2013


My first attempt to fix something in otp, so apologies on beforehand for 
errors in the process ;-)  I tried following the instructions 
(https://github.com/erlang/otp/wiki/submitting-patches), and by the way 
those instructions should perhaps include a 'git push' somewhere 
(although that might be obvious if you are used to working with git...) 
otherwise the github page has a distinct lack of updates ;-)

However, I noticed an error in httpc, where a POST request was not 
auto-redirected upon a '303 See Other' response as I believe it should 
be (see RFC2626 sect 10.3.4). Branch contains (failing) test case, as 
well as a suggested fix.

git fetch git://github.com/hanssv/otp.git http_redirect_on_post_303

https://github.com/hanssv/otp/compare/http_redirect_on_post_303
https://github.com/hanssv/otp/compare/http_redirect_on_post_303.patch

Cheers,

Hans



More information about the erlang-patches mailing list