Commit 66bbc23f authored by Issac Goldstand's avatar Issac Goldstand
Browse files

Change r->content_type when mod_headers sets the Content-Type header

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@680082 13f79535-47bb-0310-9956-ffa450edef68
parent e9c9b410
Loading
Loading
Loading
Loading
+3 −0
Changes for modules/metadata/mod_headers.c: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -680,6 +680,9 @@ static void do_headers_fixup(request_rec *r, apr_table_t *headers,
            }
            break;
        case hdr_set:
            if (!strcasecmp(hdr->header, "Content-Type")) {
                 ap_set_content_type(r, process_tags(hdr, r));
            }
            apr_table_setn(headers, hdr->header, process_tags(hdr, r));
            break;
        case hdr_unset: