Daniel Stenberg <[email protected]> writes:

> On Thu, 2 May 2013, Giuseppe Scrivano wrote:
>
>> RFC 2606 doesn't seem very clear about it, and I can't find anywhere
>> that PUT/OPTIONS/ANYTHING should be handled differently than POST
>> wrt redirections.  I don't see why suspending a PUT request would be
>> incorrect. Darshit, do you have any pointer?
>
> Please use the httpbis documents instead of solely relying on RFC2616:
> http://datatracker.ietf.org/doc/draft-ietf-httpbis-p2-semantics/?include_text=1
> they're much updated and leaves less to interpret and is now based on
> many years of real-world HTTP use.

thanks for the additional info.

This paragraph:

"The 307 (Temporary Redirect) status code indicates that the target
 resource resides temporarily under a different URI and the user agent
 MUST NOT change the request method if it performs an automatic
 redirection to that URI.  Since the redirection can change over time,
 the client ought to continue using the original effective request URI
 for future requests."

seems to confirm that the patch from Gijs, that keeps the original
method, is correct.

I am going to clean it up and if nobody complains in a few hours, I will
push it.

-- 
Giuseppe

Reply via email to