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 2007/05/15 12:38:16 UTC
[jira] Created: (MODPYTHON-226) req.status_line should be writable
to allow custom status lines.
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.