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
