You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2011/06/01 22:00:36 UTC

DO NOT REPLY [Bug 51312] New: mod_filter should support adding to the Vary header

https://issues.apache.org/bugzilla/show_bug.cgi?id=51312

             Bug #: 51312
           Summary: mod_filter should support adding to the Vary header
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_filter
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: sf@sfritsch.de
    Classification: Unclassified


If mod_filter is used to configure mod_deflate like this:

BrowserMatch ^Mozilla/4 no-gzip
BrowserMatch "\bMSIE [7-9]" !no-gzip
Header append Vary User-Agent env=!dont-vary
FilterDeclare compress-response
FilterProvider compress-response DEFLATE Content-Type $text/
FilterProvider compress-response DEFLATE Content-Type
$application/x-javascript
FilterProtocol compress-response change=yes;byteranges=no

it is not possible to add the Vary: User-Agent header only if the filter is
actually activated.

Maybe mod_filter should have some additional support for adding a Vary header
or setting an env var.

There was a small thread about this at

http://mail-archives.apache.org/mod_mbox/httpd-dev/201105.mbox/%3C04c5ce0bd8c5475999a305514e8d697a.squirrel@www.sfritsch.de%3E

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org