?
=?ISO-8859-1?Q?H=E5kan_Persson?=
Hi.
I am trying to set up a simple HTTP-server but I have problems reading
data that is beeing POSTed.
class httpServer(BaseHTTPServer.BaseHTTPRequestHandler):
def do_POST(self):
input = self.rfile.read()
The self.rfile.read() will hang on the
data = self._sock.recv(recv_size)
line in the read() function in socket.py.
Is there another way to read the data?
Thanks,
Håkan Persson
I am trying to set up a simple HTTP-server but I have problems reading
data that is beeing POSTed.
class httpServer(BaseHTTPServer.BaseHTTPRequestHandler):
def do_POST(self):
input = self.rfile.read()
The self.rfile.read() will hang on the
data = self._sock.recv(recv_size)
line in the read() function in socket.py.
Is there another way to read the data?
Thanks,
Håkan Persson