httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Toscano <toscano.l...@gmail.com>
Subject Re: Content-Length header for HTTP 204 and 1xx status codes
Date Thu, 08 Dec 2016 14:01:17 GMT
Hi everybody,

thanks a lot for the useful feedback. Quoting Jacob from another thread:

2016-12-08 0:04 GMT+01:00 Jacob Champion <champion.p@gmail.com>:
>
>
> I thought the original bug report was related to 204 processing only, and
> then Luca asked if his patch should also include informational-status
> checks as well.


My understanding of the 1xx status handling was not correct, I created a
new patch only for the 204 bug:

http://home.apache.org/~elukey/httpd-trunk-core-http_204_nocontent.patch

This should avoid returning a C-L header (set by ap_content_length_filter
or a CGI backend) and any message-body for HTTP 204 responses.

If nobody disagrees, I'd like to commit it and create a specific test in
the httpd test suite.

Thanks!

Luca

Mime
View raw message