if you dont pass in header you asked for explicitly all are returned. #149
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue