diff --git a/app/main.py b/app/main.py index 3f68f7d..18a37b0 100644 --- a/app/main.py +++ b/app/main.py @@ -97,7 +97,7 @@ def proxy(u): u = u.replace('/blob/', '/raw/', 1) headers = {} r_headers = {} - for i in ['Range', 'User-Agent']: + for i in ['Range', 'User-Agent', 'Accept', 'Content-Type', 'Content-Length', 'Content-Encoding']: if i in request.headers: r_headers[i] = request.headers.get(i) r_headers['Accept-Encoding'] = request.headers.get('Accept-Encoding', 'identity')