You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-dev@quetz.apache.org by "Graham Dumpleton (JIRA)" <ji...@apache.org> on 2006/03/07 10:33:39 UTC

[jira] Resolved: (MODPYTHON-71) Support the HEAD method properly

     [ http://issues.apache.org/jira/browse/MODPYTHON-71?page=all ]
     
Graham Dumpleton resolved MODPYTHON-71:
---------------------------------------

    Resolution: Invalid

Further checking did indeed find that a handler should not truncate output for HEAD. Doing so can actually interfere with output filters that do things such as calculate content length, such as is done by the output filter called CONTENT_LENGTH.

> Support the HEAD method properly
> --------------------------------
>
>          Key: MODPYTHON-71
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-71
>      Project: mod_python
>         Type: Bug
>   Components: core
>     Versions: 3.1.4, 3.1.3, 2.7.10, 3.2.7
>     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 ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira