W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2012

Re: WGLC review of p2-semantics (editorial stuff)

From: Zhong Yu <zhong.j.yu@gmail.com>
Date: Tue, 30 Oct 2012 15:40:55 -0500
Message-ID: <CACuKZqH=V8EH08exAObwriCanu5d7Ei0HN8RgfMqMWOFA3C86Q@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, Dan Winship <dan.winship@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Got it. In the spec,
> Additional header fields define metadata about the selected representation, which might differ from the representation included in the message for responses to some state-changing methods

So if the current representation has ETag=v1, and PUT sends a new
representation to which the server assigns ETag=v2, the response to
PUT may contain ETag of the old representation. (This was not in

Except, if there's no representation before the PUT, the response must
be 201, and its ETag is of the new representation.

I have to say the meanings of headers are heavily overloaded.


On Tue, Oct 30, 2012 at 1:21 PM, Martin Thomson
<martin.thomson@gmail.com> wrote:
> On 30 October 2012 19:10, Julian Reschke <julian.reschke@gmx.de> wrote:
>> On 2012-10-30 18:17, Zhong Yu wrote:
>>> I don't quite understand it; can anyone give an example where the
>>> selected representation is not the representation enclosed in the
>>> response?
> Or the more obvious one: HEAD.  Or a PUT response that contains a
> summary of changes, rather than an actual representation, etc...
Received on Tuesday, 30 October 2012 20:41:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:11:07 UTC