Commit 3036ccee authored by Florent Guillaume's avatar Florent Guillaume

Harden REQUEST __repr__.

parent 26e7a3da
......@@ -1293,7 +1293,7 @@ class HTTPRequest(BaseRequest):
return result+"</table>"
def __repr__(self):
return "<%s, URL=%s>" % (self.__class__.__name__, self['URL'])
return "<%s, URL=%s>" % (self.__class__.__name__, self.get('URL'))
def text(self):
result="FORM\n\n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment