comparison roundup/cgi/client.py @ 4344:85b00a3820b3

Fix thread safety with stdin in roundup-server
author Richard Jones <richard@users.sourceforge.net>
date Tue, 02 Feb 2010 05:00:42 +0000
parents 58b7ba47af87
children 74476eaac38a
comparison
equal deleted inserted replaced
4343:7a0fe3cff4de 4344:85b00a3820b3
298 # {(path, name): (value, expire)} 298 # {(path, name): (value, expire)}
299 self._cookies = {} 299 self._cookies = {}
300 300
301 # see if we need to re-parse the environment for the form (eg Zope) 301 # see if we need to re-parse the environment for the form (eg Zope)
302 if form is None: 302 if form is None:
303 self.form = cgi.FieldStorage(environ=env) 303 self.form = cgi.FieldStorage(fp=request.rfile, environ=env)
304 else: 304 else:
305 self.form = form 305 self.form = form
306 306
307 # turn debugging on/off 307 # turn debugging on/off
308 try: 308 try:

Roundup Issue Tracker: http://roundup-tracker.org/