Python 2.1 CGI engine for PWS (Win98) => Error 500
nospam at bigfoot.com
Sun Aug 19 19:58:52 CEST 2001
Done, of course, I thried with the python builtin tets script:
That assumes this.
In addition, I tested with another simple one that runs (as CGI) with
AFAIK, an encoding error does not raise an HTTP error 500 but a mess on the
> Make sure you have the folloing (or equivilant) at the top of your CGI.
> print "Content-type: text/html" #Or text/plain if serving plain text or
> image/jpeg if serving a jpeg etc.
> print ""
> That ought to fix it.
More information about the Python-list