From 97a3fcf0a4c9e488eaf3612c2ab5d80354c534b8 Mon Sep 17 00:00:00 2001 From: jhcipar Date: Wed, 28 Jan 2026 14:56:37 -0500 Subject: [PATCH] accept-encoding --- runpod/http_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runpod/http_client.py b/runpod/http_client.py index 0621fccd..d6455f00 100644 --- a/runpod/http_client.py +++ b/runpod/http_client.py @@ -29,9 +29,9 @@ def get_auth_header(): "Content-Type": "application/json", "Authorization": auth, "User-Agent": USER_AGENT, + "Accept-Encoding": "gzip, deflate", } - def AsyncClientSession(*args, **kwargs): # pylint: disable=invalid-name """ Deprecation from aiohttp.ClientSession forbids inheritance. @@ -50,4 +50,4 @@ class SyncClientSession(requests.Session): """ Inherits requests.Session to override `request()` method for tracing """ - pass \ No newline at end of file + pass