]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Do not send a content-length if and only if this is a HEAD request and
authorRyan Bloom <rbb@apache.org>
Wed, 15 Nov 2000 22:08:44 +0000 (22:08 +0000)
committerRyan Bloom <rbb@apache.org>
Wed, 15 Nov 2000 22:08:44 +0000 (22:08 +0000)
commit8c8aa4baadd2110479bb1bd51cb0db9948febf30
treec15697793d2d49981637b3d0f919a68a5cde5d0b
parentc76dc8d954e0256604696c375b1dbbd6e6fef10a
Do not send a content-length if and only if this is a HEAD request and
the content-length is 0.  The problem is that the C-L on a HEAD response
has to be the correct C-L, but if a handler returns saying the handled
the request without sending data, the core sends an EOS down the filter
stack, and we compute a 0 C-L.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86976 13f79535-47bb-0310-9956-ffa450edef68
modules/http/http_protocol.c