BaseHTTPServer - getting POST parameters

Fredrik Lundh fredrik at pythonware.com
Tue Nov 14 16:43:04 EST 2006


Vlad Dogaru wrote:

> After experimenting for a while, I am still not able to find where the
> POST data is in the BaseHTTPRequestHandler class. I am trying to write
> a very simple HTTP server for a project of mine and I need to get the
> POST data. Certainly I am missing something, as it is a comon task.

it's nowhere: you're supposed to read it from the socket via the "rfile" 
attribute.

</F>




More information about the Python-list mailing list