]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Do not include body in HTTPRequest's __repr__ 817/head
authorYusuf Simonson <simonson@gmail.com>
Fri, 31 May 2013 18:05:57 +0000 (14:05 -0400)
committerYusuf Simonson <simonson@gmail.com>
Fri, 31 May 2013 18:05:57 +0000 (14:05 -0400)
tornado/httpserver.py

index 5beebda515c3ae3c5c65a934cebecec0ba29786d..d005545e83eabe79bf0f102a2a3dde5bf9cdece8 100644 (file)
@@ -523,8 +523,7 @@ class HTTPRequest(object):
             return None
 
     def __repr__(self):
-        attrs = ("protocol", "host", "method", "uri", "version", "remote_ip",
-                 "body")
+        attrs = ("protocol", "host", "method", "uri", "version", "remote_ip")
         args = ", ".join(["%s=%r" % (n, getattr(self, n)) for n in attrs])
         return "%s(%s, headers=%s)" % (
             self.__class__.__name__, args, dict(self.headers))