[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/HTTP - BrowserPayload.py:1.1.2.6
Tres Seaver
tseaver@zope.com
Mon, 26 Nov 2001 16:44:29 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/Publisher/HTTP
In directory cvs.zope.org:/tmp/cvs-serv29931
Modified Files:
Tag: Zope-3x-branch
BrowserPayload.py
Log Message:
- Handle inputs properly for GET requests.
=== Zope3/lib/python/Zope/Publisher/HTTP/BrowserPayload.py 1.1.2.5 => 1.1.2.6 ===
meth = None
- if fs is None and method != 'GET':
- # Process form if not a GET request.
- fp = request.full_instream
+ if fs is None:
+ if method != 'GET':
+ # Process form if not a GET request.
+ fp = request.full_instream
+ else:
+ fp = None
fs = FieldStorage(fp=fp, environ=environ, keep_blank_values=1)
fslist = getattr(fs, 'list', None)