Add a no-cache header to GQL

This commit is contained in:
DevilXD committed 2022-09-16 16:28:47 +02:00
1 parent efd48a8287
commit a5822fb8ed
1 file changed
+2
+2
View File
@@ -180,6 +180,8 @@ class _AuthState:
headers = { headers = {
"Authorization": f"OAuth {self.access_token}", "Authorization": f"OAuth {self.access_token}",
"Accept": "*/*", "Accept": "*/*",
"Pragma": "no-cache",
"Cache-Control": "no-cache",
"Origin": "https://www.twitch.tv", "Origin": "https://www.twitch.tv",
"Referer": "https://www.twitch.tv/", "Referer": "https://www.twitch.tv/",
"Client-Id": CLIENT_ID, "Client-Id": CLIENT_ID,