]> granicus.if.org Git - apache/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)
commit66b3a62de894f6edb484fd67927d72bfb3f47b30
tree58f7ab189511869218a27362835f09bf7043041a
parent22587a32097a552d04d07dc6b5a2638ce6d47a51
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