Re: Infinite hangup when using CGI sys.stdin.read()

2008-12-07 Thread MRAB
[EMAIL PROTECTED] wrote: I maintain a CGI framework named PyTin, and while previously the developer was only allowed to access GET and POST by cgi.FieldStorage. I'm trying to add code to my request gatherer that looks like: 1. request.rawpost = StringIO() # Just normal StringIO 2. request.rawpos

Infinite hangup when using CGI sys.stdin.read()

2008-12-07 Thread pacsciadmin
I maintain a CGI framework named PyTin, and while previously the developer was only allowed to access GET and POST by cgi.FieldStorage. I'm trying to add code to my request gatherer that looks like: 1. request.rawpost = StringIO() # Just normal StringIO 2. request.rawpost.write(sys.stdin.read()) 3