git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@726794
13f79535-47bb-0310-9956-
ffa450edef68
}
}
}
+ /*
+ * 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;
}