W3C home > Mailing lists > Public > www-talk@w3.org > May to June 2011

Re: redirect after a successful DELETE

From: Jan Algermissen <algermissen1971@mac.com>
Date: Sun, 08 May 2011 09:55:28 +0200
Cc: www-talk@w3.org
Message-id: <208A3A65-0CBC-47E5-A4CF-C81594DE1BAF@mac.com>
To: Mathieu Rochette <mathieu@evangeneer.net>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 8 May 2011 07:56:23 GMT