if you dont pass in header you asked for explicitly all are returned. #149

Merged
myusuf3 merged 2 commits from master into master 2013-02-15 08:16:30 -08:00
Showing only changes of commit dbf2a461b8 - Show all commits

View file

@ -259,7 +259,7 @@ class Twython(object):
raise TwythonError('This function must be called after an API call. It delivers header information.') raise TwythonError('This function must be called after an API call. It delivers header information.')
if header in self._last_call['headers']: if header in self._last_call['headers']:
return self._last_call['headers'][header] return self._last_call['headers'][header]
return None return self._last_call
def get_authentication_tokens(self): def get_authentication_tokens(self):
"""Returns an authorization URL for a user to hit. """Returns an authorization URL for a user to hit.