Re: HTTP 'HASH' Method

sön 2007-05-27 klockan 23:40 +0100 skrev Jamie Lokier:

> Where the trailers would be useful is in specifying the Vary header.
> Currently, if the server can determine which requests headers are
> prerequisites for the page, before it sends anything, it can put those
> in the Vary header.  If not, it has to send "Vary: *".  If it worked
> to put Vary in a trailer instead, it could be more accurate in those
> cases.

Should work, but only if the request indicates "TE: trailer" and the
response a "Trailer: Vary". If "TE: trailer" is not seen then Vary is
not allowed in the trailer. 3.6.1 Chunked transfer coding, and the fact
that Vary can not be considered "optional" or safe to ignore while
processing the response.

A cache advertising "TE: trailer" and not handling Vary in the trailer
is broken imho.

Regards
Henrik

Received on Monday, 28 May 2007 01:25:51 UTC