Nicolas Lehuen (JIRA) wrote:
Support the HEAD method properly
--------------------------------
Key: MODPYTHON-71
URL: http://issues.apache.org/jira/browse/MODPYTHON-71
Project: mod_python
Type: Bug
Versions: 3.1.4, 3.1.3, 2.7.10, 3.2.0
Reporter: Nicolas Lehuen
Priority: Minor
RFC 2616, 9.4 HEAD :
8<---8<---8<---8<---8<---
The HEAD method is identical to GET except that the server MUST NOT return
a message-body in the response. The metainformation contained in the HTTP
headers in response to a HEAD request SHOULD be identical to the
information sent in response to a GET request.
8<---8<---8<---8<---8<---
Could we make sure that nothing is returned to the client ? Perhaps by making
sure that req.write does nothing whenever the request method is HEAD ?
That makes sense. I wonder how other app servers deal with it?
Jim