python-dev  

[jira] Created: (MODPYTHON-226) req.status_line should be writable to allow custom status lines.

Graham Dumpleton (JIRA)
Tue, 15 May 2007 03:38:37 -0700

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

                 Key: MODPYTHON-226
                 URL: https://issues.apache.org/jira/browse/MODPYTHON-226
             Project: mod_python
          Issue Type: New Feature
          Components: core
    Affects Versions: 3.3.1
            Reporter: Graham Dumpleton


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

  • [jira] Created: (MODPYTHON-226) req.status_line should be writable to allow custom status lines. Graham Dumpleton (JIRA)