]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
If the content-length is zero, then we don't output the Content-Length
authorRyan Bloom <rbb@apache.org>
Tue, 14 Nov 2000 04:52:33 +0000 (04:52 +0000)
committerRyan Bloom <rbb@apache.org>
Tue, 14 Nov 2000 04:52:33 +0000 (04:52 +0000)
commit6e87646b7c601c2d25c2987e05ccd8b702873c94
tree58f7ab189511869218a27362835f09bf7043041a
parentca2801f8aba7d961374e8579785890fb6383c027
If the content-length is zero, then we don't output the Content-Length
header file.  The only time that the C-L should be zero is if there is
no body.  Zero is a valid content-length, but the only time that we ever
really send it is on a HEAD request right now, and that is incorrect.
The HEAD response should have the actual content's length.

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