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

Fredrik <>
Fri Jan 18 09:30:23 CET 2013


Hello Hans, fun to see an old teacher posting patches ;)
We are currently working on changing the wiki for submitting patches, 
thanks for noticing that!

I am building your patch in the 'master-pu' branch now.
Thanks,
BR Fredrik Gustafsson
Erlang OTP Team
On 01/17/2013 11:25 PM, Hans Svensson wrote:
> 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
> _______________________________________________
> erlang-patches mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-patches



More information about the erlang-patches mailing list