cgi module question
Ian Bicking
ianb at colorstudy.com
Fri Apr 26 18:34:58 EDT 2002
On Fri, 2002-04-26 at 15:45, Jeff Shipman wrote:
> Uh, no, not really because it's consumed by
> FieldStorage(). If I consume it before that, then
> there's FieldStorage() can't grab it. I still
> need to use the cgi module, but I also need
> to get the POST query string.
You can read in the POST string, and then pass it to the cgi module (as
a file-like object with StringIO). There's an optional argument to
FieldStorage -- look at the source to find it.
Ian
More information about the Python-list
mailing list