https://bz.apache.org/bugzilla/show_bug.cgi?id=51350
--- Comment #10 from Luca Toscano <[email protected]> --- (In reply to nickdnk from comment #5) > I am observing this on 2.4.23 still I got in touch with nickdnk@ and he'll follow up in this bugzilla ticket as soon as possible, but it seems that he is not able to reproduce the issue anymore. > Also, I am wondering why we're returning a Content-Length header at all, > when the HTTP spec says: > > "A server MUST NOT send a Content-Length header field in any response > with a status code of 1xx (Informational) or 204 (No Content)." This seems to be a bug (the only remaining one to discuss). I tried to bypass mod-proxy-fcgi with this simple Perl CGI: #!/usr/bin/perl print "Status: 204\n"; print "Content-length: 1000\n"; print "Content-type: text/html\n\n"; print "Hello, World."; Response with curl --compressed and without it: HTTP/1.1 204 No Content Date: Mon, 05 Dec 2016 11:51:33 GMT Server: Apache/2.5.0-dev (Unix) Content-length: 1000 Content-Type: text/html In this case I can get the C-L greater than zero emitted. The body is dropped by httpd as expected. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
