Re: Using server-driven negotiation

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