CGI Redirect

Gabriel Ambuehl gabriel_ambuehl at buz.ch
Tue May 1 13:00:33 EDT 2001


-----BEGIN PGP SIGNED MESSAGE-----

Hello Ben,

Tuesday, May 01, 2001, 6:50:35 PM, you wrote:
>>This should work without the trailing semicolon in Python (assuming
>>that
>>nothing outputs any other headers before, of course!).
> Ah, yes, but in order to get the form to not toss up an HTTP 500
server
> error I have to put in the following:

> print "Content-type: text/html\n\n"

Uuuh? Normally Content type and location headers shouldn't be mixed as
the first one will disable all the others... For me, Location alone
works (Apache 1.3.19).


Best regards,
 Gabriel

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2i

iQEVAwUBOu7dosZa2WpymlDxAQGdZggAu1/9Ru37riSAs/wl3wfdezT3268sd6xS
YLSF/qAhMhV//CTMBKDCHbpsGCP8cyth/4lG6c9U88HhIljHTWr6/FgXKRayAgYt
3tFONF8nf3gcYOlzHSl5ztPFKM4ChnsTPSpXUUT9ZzC8UmO6xqfWLntjJSz4xDvj
ml9Edwo036KBgk4ysNBSyaJDjJC21ptiwhs8EJrZfFw+bxRBeav8fLUlw+5iYFXx
iw4u9lpbCYZr3HdxSYvhrTCvcuFxU+QQNT5aeclV7wjy8MAK8GFTFJEMG2NNgA1p
9qzHFFCItq2eOW611NZqR5BXEwVzU1pF3UU9wuagmVEqRGLFpofhcQ==
=0AlO
-----END PGP SIGNATURE-----






More information about the Python-list mailing list