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

Re: Using server-driven negotiation

From: Jamie Lokier <jamie@shareable.org>
Date: Sat, 8 Dec 2007 21:39:10 +0000
To: Subbu Allamaraju <subbu.allamaraju@gmail.com>
Cc: Henrik Nordstrom <henrik@henriknordstrom.net>, Andrew Daviel <advax@triumf.ca>, ietf-http-wg@w3.org
Message-ID: <20071208213910.GA30486@shareable.org>

Subbu Allamaraju wrote:
>    I have a question. Is the server required to supply a Vary header when
>    it did not actually vary the current response?
>    In the example below, in the absence of a header line
>    Accept-Geo-Position in the request, the server may be returning a
>    generic response. In this case, I would assume that the server will
>    not set the Vary header. I am unable to find any reference to this in
>    2616. Hence the question.

You said the server returns a generic reponse, and it does not vary
the response.

Well, does the server supply a different response when there is an
Accept-Geo-Position in the request?

If it does, that _is_ varying the response, and you've contradicted
yourself, and it should use the Vary header.

-- Jamie
Received on Saturday, 8 December 2007 21:39:22 UTC

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