diff options
| author | Paul Querna <pquerna@apache.org> | 2005-04-17 20:25:57 +0000 |
|---|---|---|
| committer | Paul Querna <pquerna@apache.org> | 2005-04-17 20:25:57 +0000 |
| commit | b25736dfb06230da5f470aaa1a64f205d10c2c89 (patch) | |
| tree | 909b1be001f6fb46eb39fbc70b3704fc87422f36 /modules | |
| parent | 2d0d6ea7e352ab273f9288e1367e0671790d4c2f (diff) | |
| download | httpd-b25736dfb06230da5f470aaa1a64f205d10c2c89.tar.gz | |
mod_deflate should be merging the Vary header, not Setting it, and ignoring what other modules put there.
Spotted By: Rici Lake
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161691 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/filters/mod_deflate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/filters/mod_deflate.c b/modules/filters/mod_deflate.c index eb2225f69d..34917705fa 100644 --- a/modules/filters/mod_deflate.c +++ b/modules/filters/mod_deflate.c @@ -315,7 +315,7 @@ static apr_status_t deflate_out_filter(ap_filter_t *f, * the Accept-Encoding, we need to note that we were looking * for this header and downstream proxies should be aware of that. */ - apr_table_setn(r->headers_out, "Vary", "Accept-Encoding"); + apr_table_mergen(r->headers_out, "Vary", "Accept-Encoding"); /* force-gzip will just force it out regardless if the browser * can actually do anything with it. |
