Submitted By: Hank Ibell <hwibell gmail.com>
Committed By: covener
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1820715 13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
Changes with Apache 2.5.1
+ *) mod_headers: Allow 'Header unset Content-Type' to remove the Content-Type
+ header. PR 61983. [Hank Ibell <hwibell gmail.com>]
*) mod_md v1.1.8: new configuration directive "MDBaseServer on|off" to allow/inhibit
management of the base server domains outside VirtualHosts. By default, this is "off",
break;
case hdr_unset:
apr_table_unset(headers, hdr->header);
+ if (!ap_cstr_casecmp(hdr->header, "Content-Type")) {
+ ap_set_content_type(r, NULL);
+ }
break;
case hdr_echo:
v.r = r;