Re: Accessing POST parameters from BaseHTTPServer

2008-11-06 Thread Steve Holden
James wrote: > 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

Accessing POST parameters from BaseHTTPServer

2008-11-06 Thread James
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 pass