Skip to content

Commit

Permalink
Don't log headers to protect privacy
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc authored Jan 30, 2022
1 parent 8a6d4f1 commit 80de702
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion trakt/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,6 @@ def _handle_request(self, method, url, data=None):
self.logger.debug('%s: %s', method, url)
HEADERS['trakt-api-key'] = CLIENT_ID
HEADERS['Authorization'] = 'Bearer {0}'.format(OAUTH_TOKEN)
self.logger.debug('headers: %s', str(HEADERS))
self.logger.debug('method, url :: %s, %s', method, url)
if method == 'get': # GETs need to pass data as params, not body
response = session.request(method, url, headers=HEADERS,
Expand Down

0 comments on commit 80de702

Please sign in to comment.