Re: redirect after a successful DELETE

On May 7, 2011, at 2:36 PM, Mathieu Rochette wrote:

> hello,
> 
> I have an html form which send a DELETE request (disguise as a POST + hidden X-http-method-overwrite=DELETE)
> when the request is a success I'd like the browser to be redirected to another page.
> 
> with a POST request I would send a 303 response but can I do that with a DELETE request?

Yes. 303 applies to any method.

Jan

> 
> 
> regards,
> mat
> 

Received on Sunday, 8 May 2011 07:55:53 UTC