projects
/
apache
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22b18f9
)
Be liberal in what we accept. Where it matters.
author
Nick Kew
<niq@apache.org>
Mon, 30 Jul 2007 12:30:36 +0000
(12:30 +0000)
committer
Nick Kew
<niq@apache.org>
Mon, 30 Jul 2007 12:30:36 +0000
(12:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@560941
13f79535
-47bb-0310-9956-
ffa450edef68
modules/filters/mod_deflate.c
patch
|
blob
|
history
diff --git
a/modules/filters/mod_deflate.c
b/modules/filters/mod_deflate.c
index f1e1a58e4ce5bc50c9b54d0233058102945d0e3e..ae372e41e83b869988e0d36d9114c7e4c43ed111 100644
(file)
--- a/
modules/filters/mod_deflate.c
+++ b/
modules/filters/mod_deflate.c
@@
-677,7
+677,8
@@
static apr_status_t deflate_in_filter(ap_filter_t *f,
if (encoding && *encoding) {
/* check the usual/simple case first */
- if (!strcasecmp(encoding, "gzip")) {
+ if (!strcasecmp(encoding, "gzip")
+ || !strcasecmp(encoding, "x-gzip")) {
found = 1;
apr_table_unset(r->headers_in, "Content-Encoding");
}