diff --git a/app/main.py b/app/main.py index aeb5a91..4673257 100644 --- a/app/main.py +++ b/app/main.py @@ -108,6 +108,7 @@ def proxy(u): r_headers = dict(request.headers) if 'Host' in r_headers: r_headers.pop('Host') + 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://'):