]> granicus.if.org Git - apache/commit
http: Don't remove the Content-Length of zero from a HEAD response if
authorYann Ylavic <ylavic@apache.org>
Thu, 7 May 2015 14:05:25 +0000 (14:05 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 7 May 2015 14:05:25 +0000 (14:05 +0000)
commit725bf57c4b1e1a80ba140182ee042f4a08156afc
tree7ac1eba74255f4947369b0df1335e1c74b2a6ffa
parent2b3c064412eadf67abfbe74c70768f0ad8aee306
http: Don't remove the Content-Length of zero from a HEAD response if
it comes from an origin server, module or script.

Instead of removing the C-L in ap_http_header_filter() after it has been
set by ap_content_length_filter(), just don't set it in the latter.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1678215 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/http/http_filters.c
server/protocol.c