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

req.status_line should be writable to allow custom status lines.

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 3.3.1
    • 3.3.x
    • core
    • None

    Description

      If req.status_line is writable it allows a handler to return a custom status line description. For example:

      req.status_line = "200 ALL OKAY WITH ME"
      req.write('hello world!\n')
      return apache.OK

      The ability to change the description may be useful in testing. See thread:

      http://www.modpython.org/pipermail/mod_python/2007-May/023567.html

      for discussion where lack of this feature arose.

      Attachments

        Activity

          People

            grahamd Graham Phillip Dumpleton
            grahamd Graham Phillip Dumpleton

            Dates

              Created:
              Updated:

              Slack

                Issue deployment