I am writing a simple SocketServer.TCPServer request handler (StreamRequestHandler) that will capture the request, along with the headers and the messa
SocketServer.TCPServer
StreamRequestHandler
Keith's comment is correct. Here's what it looks like
length = int(self.headers.getheader('content-length')) data = self.rfile.read(length)