Parent Directory
|
Revision Log
|
Patch
--- httpd/httpd/trunk/modules/filters/mod_deflate.c 2008/12/15 20:22:07 726791
+++ httpd/httpd/trunk/modules/filters/mod_deflate.c 2008/12/15 20:36:47 726794
@@ -157,6 +157,15 @@
}
}
}
+ /*
+ * If we have dealt with the headers above but content_encoding was set
+ * before sync it with the new value in the hdrs table as
+ * r->content_encoding takes precedence later on in the http_header_filter
+ * and hence would destroy what we have just set in the hdrs table.
+ */
+ if (hdrs && r->content_encoding) {
+ r->content_encoding = apr_table_get(hdrs, "Content-Encoding");
+ }
return found;
}
| apache@apache.org | ViewVC Help |
| Powered by ViewVC 1.1.2 |