W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2008

Re: PROPOSAL: Weak Validator definition [i101]

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 29 Jul 2008 20:56:10 +0200
Message-ID: <488F67CA.6080303@gmx.de>
To: Brian Smith <brian@briansmith.org>
CC: 'Mark Nottingham' <mnot@mnot.net>, 'HTTP Working Group' <ietf-http-wg@w3.org>

Brian Smith wrote:
> "entity value" is an undefined term that is only used in this one place, and
> it could be interpreted as "entity body" inappropriately. "Entity" would be
> better since it is defined as the combination as the entity-header fields
> and the entity-body.

Right. That's old text though. Will open a new ticket.

> I would expect that a validator should change whenever the entity changes,
> *and* whenever the entity *headers* change as well. For example, changing

I think the entity headers are considered part of the entity. Are there 
specific places that suggest otehrwise.

> the Content-Type from text/plain to text/html is a significant change even
> if the entity body stays the same. Otherwise, because of the restrictions on
> 304 responses containing entity headers, the client could repeatedly get 304
> responses and never learn that the content-type changed. Similarly,
> conditional PUTs would unknowingly revert an intermediate change in entity
> headers.
> For example, an ETag generated as the MD5 of just the entity body would not
> be a good ETag, but an ETag generated as the MD5 of the entity headers
> together with the entity body would be a good ETag.


BR, Julian
Received on Tuesday, 29 July 2008 18:56:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:13:37 UTC