[mod_python] mod_python2.7.2 and server redirects

Brent Verner brent at rcfile.org
Wed Feb 21 16:17:38 EST 2001


On 21 Feb 2001 at 12:08 (-0800), Petar Karafezov wrote:
| hello all -
| 
| let me fist say that I love mod_python - works great - much faster than any
| cgi! Thanks, Grisha! 
| 
| I am seeing some weirdness when working with server redirects - I'm simply
| trying to catch the headers from the server, modify the location key and
| then send it to the client. It work ok under the CGI, but when I see the
| headers that my .py reports when accessed with lynx -mime_header option
| (which simply prints the headers and body and exits) instead of HTTP/1.1 302
| Found, I see HTTP/1.1 200 OK. I am not sure why this is happening.. Any
| ideas ??

this faq entry may help.

http://www.modpython.org/FAQ/faqw.py?req=show&file=faq03.002.htp

  brent

-- 
"We want to help, but we wouldn't want to deprive you of a valuable 
learning experience."
                                          http://openbsd.org/mail.html



More information about the Mod_python mailing list