Accessing POST parameters from BaseHTTPServer
James
rent.lupin.road at gmail.com
Thu Nov 6 17:19:16 EST 2008
Hi all,
I'm writing a super simple little debugging HTTP server which simply
returns the path and parameters it receives requests for.
E.g. requesting /meth?a=b returns something like:
Command: GET
Path: /meth
Params: {'a': ['b']}
This is fine for GET, but I can't see how I access parameters passed
by POST requests...
The particular client programme I'm testing will be passing stuff up
as text/xml, if that's any help...
Thanks!
James
More information about the Python-list
mailing list