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

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

From: Cameron Heavon-Jones <cmhjones@gmail.com>
Date: Tue, 13 Dec 2011 16:23:47 +0000
Cc: Mirko Gustony <mirko.gustony@gmail.com>, thibault <thibault@miximum.fr>, public-html-comments@w3.org
Message-Id: <855BE2F3-ABCC-4862-B272-4CA44A9CFD6E@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>

On 13/12/2011, at 3:25 PM, Julian Reschke wrote:

> 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
> 

Fine, but as a backward-compatibility issue some wasted bits being sent to legacy clients which don't do anything with them anyway seems like a small issue.

Thanks,
Cam
Received on Tuesday, 13 December 2011 19:01:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 13 December 2011 19:01:56 GMT