Re: Python CGI post problem

2005-11-24 Thread Paul Boddie
Eddy Ilg wrote: > I'm having problems with a python cgi script. The script just won't read > any POST data. Forms with GET data work fine. [...] > form=cgi.FieldStorage(keep_blank_values=True) Since FieldStorage uses various defaults when you don't specify the fp and environ parameters, it may b

Python CGI post problem

2005-11-23 Thread Eddy Ilg
I'm having problems with a python cgi script. The script just won't read any POST data. Forms with GET data work fine. Here's the script: #!/usr/bin/python import sys import os import cgi import cgitb; cgitb.enable() import path import site_html import session session.start() form=cgi.FieldSt