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
parent
6e87646b
Please register or sign in to comment