[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ETag & Content-Encoding




Franklin Tse wrote:

In IIS 7, different ETags are received:
...

Great, although I think it should also have "Vary" on both responses.

Anyway, RFC2616, Section 12.1 (<http://greenbytes.de/tech/webdav/rfc2616.html#rfc.section.12.1>) states that we're talking about content negotiation here:

"If the selection of the best representation for a response is made by an algorithm located at the server, it is called server-driven negotiation. Selection is based on the available representations of the response (the dimensions over which it can vary; e.g. language, content-coding, etc.) and the contents of particular header fields in the request message or on other information pertaining to the request (such as the network address of the client)."

...so a different variant is requested and returned, thus a different ETag is required.

BR, Julian