W3C home > Mailing lists > Public > public-html-comments@w3.org > December 2011

Re: Follow-up about PUT and DELETE in form methods

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 13 Dec 2011 16:25:52 +0100
Message-ID: <4EE76E80.1020305@gmx.de>
To: Cameron Heavon-Jones <cmhjones@gmail.com>
CC: Mirko Gustony <mirko.gustony@gmail.com>, thibault <thibault@miximum.fr>, public-html-comments@w3.org
On 2011-12-13 16:13, Cameron Heavon-Jones wrote:
>
> On 13/12/2011, at 3:04 PM, Julian Reschke wrote:
>
>> Different clients have different expectations on the response payload they get for a successful DELETE, though. Most non-HTML clients do not care about any additional information, so sending more than a status message is a waste of bits.
>
> Why is the client advertising that it "Accept: text\html" if it doesn't want it? Seems like it is requesting a waste of bits.
>
> if it wants a simple status message it should "Accept: text\plain" or some such other.

If everything was written from scratch, maybe. But it isn't.

Servers have sent HTML-typed status messages for over a decade now, and 
the HTTP spec even recommends it in several places.

Best regards, Julian
Received on Tuesday, 13 December 2011 15:33:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 13 December 2011 15:33:06 GMT