]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Drop C-L header and message-body from HTTP 204 responses.
authorLuca Toscano <elukey@apache.org>
Fri, 9 Dec 2016 09:29:57 +0000 (09:29 +0000)
committerLuca Toscano <elukey@apache.org>
Fri, 9 Dec 2016 09:29:57 +0000 (09:29 +0000)
commitffabf5f53ef74bc5f536c431fe2b59b1c8a10ff7
treeedd226e21102a4faa7a180d696faf424ccf373eb
parent74b59485b805bcd38f9f1d9cb8b7f54460ddcdd0
Drop C-L header and message-body from HTTP 204 responses.

The C-L header can be set in a fcgi/cgi backend or in other
filters like ap_content_length_filter (with the value of 0),
meanwhile the message-body can be returned incorrectly
by any backend. The idea is to remove unnecessary bytes
from a HTTP 204 response.

PR 51350

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