Created: (MODPYTHON-226) req.status_line should be writable
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Created: (MODPYTHON-226) req.status_line should be writable




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Created: (MODPYTHON-226) req.status_line should be writable  
Graham Dumpleton (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-15-07 12:12 PM

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/...May/023567.html

for discussion where lack of this feature arose.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:32 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register