Christopher J. Bottaro wrote:
> When I make a post, it just hangs (in self.rfile.read()).
I don't know about BaseHTTPRequestHandler in particular, but in general
you don't want to call an unlimited read() on an HTTP request - it will
try to read the entire incoming stream, up until the stream is
Hi,
I can't for the life of me figure out how to get the post vars when using
basehttpserver. Here's my code:
class MyHandler(BaseHTTPRequestHandler):
def do_POST(self):
print self.path, self.command
if self.rfile:
print self.rfile.read()
else:
print 'no