cgi module question
Jeff Shipman
shippy at nmt.edu
Fri Apr 26 16:45:51 EDT 2002
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.
Erno Kuusela wrote:
> In article <3CC9A3E2.9060803 at nmt.edu>, Jeff Shipman <shippy at nmt.edu> writes:
>
> | I'm using Python 1.5.2 and the cgi module. I'm
> | wondering if there's any way to recover the string
> | that was passed to the cgi module during a POST
> | operation (normally comes in through stdin)?
>
> yes. read sys.stdin.
>
> -- erno
--
Jeff "Shippy" Shipman E-Mail: shippy at nmt.edu
Computer Science Major ICQ: 1786493
New Mexico Institute of Mining and Technology
Homepage: http://www.nmt.edu/~shippy
More information about the Python-list
mailing list