Author: chrisz
Date: Tue Mar 27 11:44:43 2007
New Revision: 6361
Modified:
Webware/trunk/WebKit/HTTPRequest.py
Log:
Fixed bug in originalURLPath() and originalURI() methods.
Modified: Webware/trunk/WebKit/HTTPRequest.py
==============================================================================
--- Webware/trunk/WebKit/HTTPRequest.py (original)
+++ Webware/trunk/WebKit/HTTPRequest.py Tue Mar 27 11:44:43 2007
@@ -618,7 +618,7 @@
if self._stack:
return self._stack[0][1]
else:
- self.urlPath()
+ return self.urlPath()
def previousURLPath(self):
"""Get the previous URL path, if any."""
@@ -634,7 +634,7 @@
if self._stack:
return self._stack[0][2]
else:
- self.uri()
+ return self.uri()
def previousURI(self):
"""Get the previous URI, if any."""
|