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

Re: PUT and DELETE methods in 200 code

From: mike amundsen <mamund@yahoo.com>
Date: Mon, 4 Apr 2011 13:21:44 -0400
Message-ID: <BANLkTi=WEvvr2Np4F7knrVan1AE9S=TrUg@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Cameron Heavon-Jones <cmhjones@gmail.com>, public-html@w3.org
Julian:

<snip>
> ...in order to decide whether to return a payload to the UA for display?
</snip>
So, this is not a PUT/DELETE issue at all, since POST can (and does)
result in 201/202/204 response codes, too.

MCA

On Mon, Apr 4, 2011 at 12:54, Julian Reschke <julian.reschke@gmx.de> wrote:
> On 04.04.2011 18:20, mike amundsen wrote:
>>
>> <snip>
>>>
>>> The tricky question is: how does the server know that a PUT was the
>>> result
>>> of a form submission?
>>
>> </snip>
>>
>> Why would this be of interest to the server?
>> ...
>
> ...in order to decide whether to return a payload to the UA for display?
>
> Again, I don't believe Accept: helps here; it's not a question of media
> type, but of the client's intent.
>
> BR, Julian
>
Received on Monday, 4 April 2011 17:22:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:27 GMT