]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
http: Enforce consistently no response body with both 204 and 304 statuses.
authorYann Ylavic <ylavic@apache.org>
Mon, 30 Jul 2018 13:08:23 +0000 (13:08 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 30 Jul 2018 13:08:23 +0000 (13:08 +0000)
commitf673148e9b8674aa6d5bd1efdd12679fc0099c79
treee58ea171f44a4b345f5ccf154b189aa1c538509f
parent35019799d6e677dfc656365d47982bf44e513370
http: Enforce consistently no response body with both 204 and 304 statuses.

Provide AP_STATUS_IS_HEADER_ONLY() helper/macro to check for 204 or 304 and
use it where some special treatment is needed when no body is expected.

Some of those places handled 204 only.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1837056 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
include/httpd.h
modules/filters/mod_brotli.c
modules/filters/mod_deflate.c
modules/http/http_filters.c
modules/http/http_protocol.c
modules/http2/h2_from_h1.c
modules/proxy/mod_proxy_http.c
modules/test/mod_policy.c
server/protocol.c