self.uri = uri
self.format = format
self.uriparts = uriparts
+ self.response_data = self.e.fp.read()
def __str__(self):
return (
"Twitter sent status %i for URL: %s.%s using parameters: "
"(%s)\ndetails: %s" %(
self.e.code, self.uri, self.format, self.uriparts,
- self.e.fp.read()))
+ self.response_data))
class TwitterResponse(object):
"""
class WrappedTwitterResponse(response_typ, TwitterResponse):
__doc__ = TwitterResponse.__doc__
- def __init__(self, response):
- if response_typ is not int:
- response_typ.__init__(self, response)
- TwitterResponse.__init__(self, headers)
-
return WrappedTwitterResponse(response)