RE: draft-ietf-httpbis-p6-cache-06

Thomas Broyer wrote:
> Brian Smith <brian@briansmith.org> wrote:
> > It's not invalid, but it doesn't mean anything. POST responses are
> > never cacheable; caches must write POST requests through to the
> > server, and a cache can't use a POST response to respond to a
> > GET/HEAD request.
> 
> Even when the POST response has a Content-Location?

There's nothing in RFC2616 or the latest HTTPbis drafts that says a cached POST response can be returned in response to a GET/HEAD request. Applying Postel's rule, a cache shouldn't return a cached POST response to a GET/HEAD request, and servers shouldn't include Cache-Control/Expires headers in POST responses. That should be explicit in the specification.

- Brian

Received on Wednesday, 27 May 2009 15:32:14 UTC