PR 48422
Adapted patch from Cyril Bonté
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@894034
13f79535-47bb-0310-9956-
ffa450edef68
*) Proxy: Fix ProxyPassReverse with relative URL
Derived (slightly erroneously) from PR 38864 [Nick Kew]
+ *) mod_headers: align Header Edit with Header Set when used on Content-Type
+ PR 48422 [Cyril Bonté <cyril.bonte free.fr>, Nick Kew>]
+
Changes with Apache 2.3.4
*) Replace AcceptMutex, LockFile, RewriteLock, SSLMutex, SSLStaplingMutex,
echo_header, (void *) &v, r->headers_in, NULL);
break;
case hdr_edit:
+ if (!strcasecmp(hdr->header, "Content-Type") && r->content_type) {
+ ap_set_content_type(r, process_regexp(hdr, r->content_type,
+ r->pool));
+ }
if (apr_table_get(headers, hdr->header)) {
edit_do ed;