diff options
author | Giovanni Bechis <gbechis@apache.org> | 2020-09-10 14:30:08 +0000 |
---|---|---|
committer | Giovanni Bechis <gbechis@apache.org> | 2020-09-10 14:30:08 +0000 |
commit | fba5d1dbba9bfb9544e1579e72ec260c2f41b861 (patch) | |
tree | 8438b4199033f32e05a0f352d9e68b79651bf751 /modules/http | |
parent | a4fba223668c554e06bc78d6e3a88f33d4238ae4 (diff) | |
download | httpd-fba5d1dbba9bfb9544e1579e72ec260c2f41b861.tar.gz |
fix headers name, spotted by Ivan Zhakov
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1881624 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http')
-rw-r--r-- | modules/http/http_filters.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/http/http_filters.c b/modules/http/http_filters.c index a9d460de03..5e8bfbfe42 100644 --- a/modules/http/http_filters.c +++ b/modules/http/http_filters.c @@ -1431,14 +1431,14 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_http_header_filter(ap_filter_t *f, * List of headers that must not be updated on a 304 (or 206 partial content) * https://tools.ietf.org/id/draft-ietf-httpbis-cache-08.txt */ - apr_table_unset(r->headers_out, "Content_Encoding"); - apr_table_unset(r->headers_out, "Content_Length"); - apr_table_unset(r->headers_out, "Content_MD5"); - apr_table_unset(r->headers_out, "Content_Range"); + apr_table_unset(r->headers_out, "Content-Encoding"); + apr_table_unset(r->headers_out, "Content-Length"); + apr_table_unset(r->headers_out, "Content-MD5"); + apr_table_unset(r->headers_out, "Content-Range"); apr_table_unset(r->headers_out, "ETag"); apr_table_unset(r->headers_out, "TE"); apr_table_unset(r->headers_out, "Trailer"); - apr_table_unset(r->headers_out, "Transfer_Encoding"); + apr_table_unset(r->headers_out, "Transfer-Encoding"); apr_table_unset(r->headers_out, "Upgrade"); } send_all_header_fields(&h, r); |