data_source: when doing an HTTP request also log the headers
This commit is contained in:
parent
8a59512d08
commit
b254eeb088
|
@ -161,6 +161,7 @@ class Data(object):
|
|||
}
|
||||
if self.auth_mech == 'oauth2':
|
||||
headers['Authorization'] = 'Bearer %s' % self.get_oauth2_access_token()
|
||||
log.debug('with headers %r', headers)
|
||||
request = requests.get(
|
||||
self.final_url,
|
||||
headers=headers,
|
||||
|
|
Reference in New Issue