]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Make the header filter decide if a body should be sent. This gives us a
authorRyan Bloom <rbb@apache.org>
Tue, 14 Nov 2000 06:07:40 +0000 (06:07 +0000)
committerRyan Bloom <rbb@apache.org>
Tue, 14 Nov 2000 06:07:40 +0000 (06:07 +0000)
commitc8b32ad717e0cf35450733961cbb963841d77300
treedf29e4f965cf97def63ef9baebe0696b0d0ca130
parent6e87646b7c601c2d25c2987e05ccd8b702873c94
Make the header filter decide if a body should be sent.  This gives us a
chance to compute the proper content-length before we try to send a set
of headers.  If a handler wants to ignore the HEAD method, then it can
either just return from the handler function or pass an EOS bucket down
the filter stack.  Either method will still get the headers sent to the
client.

This change allows handlers to actually run the request like it is a GET
request.  The core itself will then ensure that no body is sent.  This
allows us to get more information about the request before sending out the
headers for the HEAD request.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86954 13f79535-47bb-0310-9956-ffa450edef68
modules/http/http_protocol.c