Ticket #6391: h.patch

File h.patch, 440 bytes (added by eddie, 7 years ago)

modified Request.repr function

  • .py

    old new  
    791791
    792792
    793793    def __repr__(self):
    794         return '<%s %s %s>'% (self.method, self.uri, self.clientproto)
     794        return '<%s.%s at 0x%x method=%s uri=%s clientproto=%s>' % \
     795               (self.__module__, self.__class__.__name__, id(self), self.method, self.uri, self.clientproto)
    795796
    796797    def process(self):
    797798        """