Improve on the GQL integrity headers
This commit is contained in:
1 parent
8da6ae8c8b
commit
efd48a8287
1 file changed
+3
@@ -179,6 +179,9 @@ class _AuthState:
|
|||||||
def gql_headers(self, *, integrity: bool) -> JsonType:
|
def gql_headers(self, *, integrity: bool) -> JsonType:
|
||||||
headers = {
|
headers = {
|
||||||
"Authorization": f"OAuth {self.access_token}",
|
"Authorization": f"OAuth {self.access_token}",
|
||||||
|
"Accept": "*/*",
|
||||||
|
"Origin": "https://www.twitch.tv",
|
||||||
|
"Referer": "https://www.twitch.tv/",
|
||||||
"Client-Id": CLIENT_ID,
|
"Client-Id": CLIENT_ID,
|
||||||
"Client-Session-Id": self.session_id,
|
"Client-Session-Id": self.session_id,
|
||||||
"Client-Version": self.client_version,
|
"Client-Version": self.client_version,
|
||||||
|
|||||||
Reference in new issue
Block a user