cgi module question
Gerhard Häring
gerhard at bigfoot.de
Fri Apr 26 17:03:34 EDT 2002
* Jeff Shipman <shippy at nmt.edu> [2002-04-26 13:00 -0600]:
> 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)? It's
> very important that I get the string in the exact
> form that it was posted to the CGI.
Simply don't use the cgi module, but read sys.stdin yourself instead.
Gerhard
--
mail: gerhard <at> bigfoot <dot> de registered Linux user #64239
web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id AD24C930
public key fingerprint: 3FCC 8700 3012 0A9E B0C9 3667 814B 9CAA AD24 C930
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
More information about the Python-list
mailing list