Commit 40a88284 authored by Florent Guillaume's avatar Florent Guillaume

Harden REQUEST __repr__.

parent 3157f832
...@@ -1293,7 +1293,7 @@ class HTTPRequest(BaseRequest): ...@@ -1293,7 +1293,7 @@ class HTTPRequest(BaseRequest):
return result+"</table>" return result+"</table>"
def __repr__(self): 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): def text(self):
result="FORM\n\n" 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