Mailing List Archive

[Bug 68446] New: When using an ErrorDocument, a HEAD request still sends the full body
https://bz.apache.org/bugzilla/show_bug.cgi?id=68446

Bug ID: 68446
Summary: When using an ErrorDocument, a HEAD request still
sends the full body
Product: Apache httpd-2
Version: 2.4.29
Hardware: PC
OS: Linux
Status: NEW
Severity: minor
Priority: P2
Component: Core
Assignee: bugs@httpd.apache.org
Reporter: apache-bugzilla@robrwo.sent.com
Target Milestone: ---

I have set up an ErrorDocument with directs to local documents for a virtual
host, e.g.

ErrorDocument 400 /static/errors/generic.html
ErrorDocument 403 /static/errors/generic.html

If I make a HEAD request, the server sends the result with a non-zero
Content-Length. And it logs that number of bytes were sent.

Some utilities like curl will show an error that the transfer was closed with
bytes remaining to be read.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org