httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <cove...@gmail.com>
Subject Re: [users@httpd] mod_deflate's problems
Date Fri, 29 Feb 2008 12:37:43 GMT
On Fri, Feb 29, 2008 at 4:24 AM, J. Peng <peng.kyo@gmail.com> wrote:
> On Fri, Feb 29, 2008 at 5:14 PM, Matus UHLAR - fantomas
>  <uhlar@fantomas.sk> wrote:
>  > On 29.02.08 11:44, J. Peng wrote:
>  >  > I talk nothing about cache.
>  >  > if mod_deflate didn't compress a file, why it still send a Vary header?
>  >  > This is what I'm always talking about.
>  >
>  >  you were advised to read HTTP specificationm (rfc 2616), did you?
>  >
>
>  Hmm! did you see my questions again?
>  I was saying if mod_deflate didn't compress a file, it shouldn't send
>  a Vary header.
>  Don't tell me the so called standard, why mod_deflate always send a
>  Vary header when it doesn't compress that file?

Because the response to requests for this same resource can change
based on the incoming Accept-Encoding header, and the Vary header is
the way this is communicated.

It's like flipping a coin and deciding the result doesn't vary when it
comes up "heads", but it does vary when it comes up "tails"


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message