mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
Set Accept-Encoding to identity
This commit is contained in:
parent
50be6fc58d
commit
8d7af13ecf
@ -342,7 +342,7 @@ class HttpLoader(BaseLoader):
|
||||
Load a file-like reader over http using range requests
|
||||
and an optional cookie created via a cookie_maker
|
||||
"""
|
||||
headers = {}
|
||||
headers = {"Accept-Encoding": "identity"}
|
||||
if offset != 0 or length != -1:
|
||||
headers['Range'] = BlockLoader._make_range_header(offset, length)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user