|
[Webware-checkins] r6034 - Webware/trunk/WebKit
From: <updates@we...> - 2007-01-02 20:32
|
Author: chrisz Date: Tue Jan 2 13:32:19 2007 New Revision: 6034 Modified: Webware/trunk/WebKit/HTTPRequest.py Log: Fixed a bug in HTTPRequest.py: empty FieldStorage is False. (Reported by Jean-Francois Pieronne.) Modified: Webware/trunk/WebKit/HTTPRequest.py ============================================================================== --- Webware/trunk/WebKit/HTTPRequest.py (original) +++ Webware/trunk/WebKit/HTTPRequest.py Tue Jan 2 13:32:19 2007 @@ -597,12 +597,11 @@ """ fs = self.fieldStorage() - if fs and fs.file: - if rewind: - fs.file.seek(0) - return fs.file - else: + if fs is None: return None + if rewind and fs.file: + fs.file.seek(0) + return fs.file def time(self): """Return the time that the request was received.""" |
| Thread | Author | Date |
|---|---|---|
| [Webware-checkins] r6034 - Webware/trunk/WebKit | <updates@we...> |