Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
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