diff --git a/app/main.py b/app/main.py index a56614d..3f68f7d 100644 --- a/app/main.py +++ b/app/main.py @@ -100,6 +100,7 @@ def proxy(u): for i in ['Range', 'User-Agent']: if i in request.headers: r_headers[i] = request.headers.get(i) + r_headers['Accept-Encoding'] = request.headers.get('Accept-Encoding', 'identity') try: url = u + request.url.replace(request.base_url, '', 1) if url.startswith('https:/') and not url.startswith('https://'):