Uploaded image for project: 'mod_python'
  1. mod_python
  2. MODPYTHON-71

Support the HEAD method properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 2.7.10, 3.1.3, 3.1.4, 3.2.7
    • None
    • core
    • None

    Description

      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 ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            nlehuen Nicolas Lehuen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: