mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Use client headers for OAuth
This commit is contained in:
parent
434cb89ba8
commit
3fd0708d21
5 changed files with 89 additions and 86 deletions
|
@ -39,7 +39,7 @@ class HTTPHandler(object):
|
|||
else:
|
||||
self.urls = urls
|
||||
|
||||
self.headers = {'X-Plex-Product': 'Tautulli',
|
||||
self.headers = {'X-Plex-Product': plexpy.common.PRODUCT,
|
||||
'X-Plex-Version': plexpy.common.RELEASE,
|
||||
'X-Plex-Client-Identifier': plexpy.CONFIG.PMS_UUID,
|
||||
'X-Plex-Platform': plexpy.common.PLATFORM,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue