Skip to content
Snippets Groups Projects
Commit 274a161b authored by Matt Traudt's avatar Matt Traudt
Browse files

Force the remote webserver to forego compression

GH: closes #126
parent 52d65305
Branches
Tags
No related merge requests found
......@@ -28,7 +28,7 @@ def timed_recv_from_server(session, dest, byte_range):
''' Request the **byte_range** from the URL at **dest**. If successful,
return True and the time it took to download. Otherwise return False and an
exception. '''
headers = {'Range': byte_range}
headers = {'Range': byte_range, 'Accept-Encoding': 'identity'}
start_time = time.time()
# TODO:
# - What other exceptions can this throw?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment