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-bugzi...@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-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to