cgi.fieldstorage not getting POST data

Andrew Clover and-google at doxdesk.com
Fri Jan 23 07:06:32 EST 2004


astoltz at yahoo.com (Al Stoltz) wrote:

> #!d:/python/python.exe

I don't know if this is related to your problem (I haven't tried 2.3 or
ActiveState's kit for CGI on Windows), but what you probably want is:

  #!d:/python/python.exe -u

To ensure that newline characters are not fiddled with. This will certainly
be necessary if you are dealing with file upload POST requests; see if it
also fixes the problem with plain url-encoded POSTs.

-- 
Andrew Clover
mailto:and at doxdesk.com
http://www.doxdesk.com/



More information about the Python-list mailing list