diff --git a/twython/api.py b/twython/api.py index 1d23a35..aa75ddb 100644 --- a/twython/api.py +++ b/twython/api.py @@ -182,6 +182,7 @@ class Twython(EndpointsMixin, object): except ValueError: raise TwythonError('Response was not valid JSON. Unable to decode.') + content['headers']=dict(response.headers) return content def _get_error_message(self, response):