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: [email protected]
        ReportedBy: [email protected]
    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/%[email protected]%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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to