mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Update requests-oauthlib-1.3.0
This commit is contained in:
parent
e55576fd80
commit
f165d2d080
15 changed files with 552 additions and 257 deletions
|
@ -31,6 +31,7 @@ class OAuth2(AuthBase):
|
|||
"""
|
||||
if not is_secure_transport(r.url):
|
||||
raise InsecureTransportError()
|
||||
r.url, r.headers, r.body = self._client.add_token(r.url,
|
||||
http_method=r.method, body=r.body, headers=r.headers)
|
||||
r.url, r.headers, r.body = self._client.add_token(
|
||||
r.url, http_method=r.method, body=r.body, headers=r.headers
|
||||
)
|
||||
return r
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue