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

Re: New "200 OK" status codes, PATCH & PROPFIND

From: Roy T. Fielding <fielding@gbiv.com>
Date: Mon, 6 Aug 2007 19:24:03 -0700
Message-Id: <60898C2E-2985-4D6A-9D20-65C76E6BD2EC@gbiv.com>
Cc: Henrik Nordstrom <henrik@henriknordstrom.net>, HTTP Working Group <ietf-http-wg@w3.org>
To: Julian Reschke <julian.reschke@gmx.de>

On Aug 6, 2007, at 2:43 PM, Julian Reschke wrote:
> Cache-Control applies to the response. What the proposal is about  
> is to enable the server to say that

Cache-control is a general header (both a request and response header).
Its scope in a response is the same as ETag.

> (a) the response body (DAV:multistatus) is cachable for n seconds,  
> while
> (b) the substitute URL can be used for N seconds,
> where N >> n.
> So these are really different things.

No, they aren't different things.  Both refer to the same content,
with the same freshness requirements, so there is no situation in
which the resource owner would need to assign them different values.
We simply define cache-control to apply to both and we are done.
That is exactly how I would interpret such a received response today,
that includes both content-location and cache-control, without any
changes to 2616.  All we would be changing is the documentation.

Received on Tuesday, 7 August 2007 02:24:11 UTC

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