Issue Details (XML | Word | Printable)

Key: MODPYTHON-39
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Nicolas Lehuen
Reporter: andres hurtado
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
mod_python

couple of documentation improvements

Created: 21/Mar/05 07:08 AM   Updated: 05/Mar/06 01:48 PM
Return to search
Component/s: documentation
Affects Version/s: None
Fix Version/s: 3.2.7

Time Tracking:
Not Specified

Resolution Date: 01/May/05 07:25 PM


 Description  « Hide
in the section : http://www.modpython.org/live/current/doc-html/inst-testing.html , the hello world example needs to mention about apache systems which are not configured with the "DefaultType text/plain" directive,in which the example will not work, or maybe just add an req.content_type = 'text/plain' to the example. So noobies wont be frustated because they cant get the hello world program to work.

Remark somewhere near the begining of the tutorial / examples that :
In order to send any kind of response headers,including cookies and sessions,the code should be before any req.write(). So that noobies wont be frustated trying to find out why their hit counter cookie doesnt work.

Perhaps there are some other details that need to be remarked, like several issues regarding internal redirects, those can be found at:

REFERENCES : http://www.modpython.org/pipermail/mod_python/2005-March/017729.html

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #165479 Sun May 01 10:25:08 UTC 2005 nlehuen Documentation fix for MODPYTHON-39.
Files Changed
MODIFY /httpd/mod_python/trunk/Doc/modpython2.tex
MODIFY /httpd/mod_python/trunk/Doc/modpython3.tex

Nicolas Lehuen added a comment - 01/May/05 07:25 PM
I've added req.content_type = 'text/plain' in the test, and added a little info about headers in the tutorial, paragraph 3.3.

Nicolas Lehuen made changes - 01/May/05 07:25 PM
Field Original Value New Value
Resolution Fixed [ 1 ]
Fix Version/s 3.2.0 [ 11060 ]
Status Open [ 1 ] Resolved [ 5 ]
Assignee Nicolas Lehuen [ nlehuen ]
Graham Dumpleton made changes - 05/Mar/06 01:48 PM
Status Resolved [ 5 ] Closed [ 6 ]