summaryrefslogtreecommitdiff
path: root/mirror-failure.py
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2013-09-17 00:41:58 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2013-10-01 11:06:23 +0200
commit78c72d0ce22e00b194251445aae306df357d5c1a (patch)
tree4622e99fdfe579f1368cf0fb561e780c58779586 /mirror-failure.py
parent331e8396ee5a4f2e7d276eddc54749b2a13dd789 (diff)
replace "filesize - 1" trick in http with proper 416 handling
Our http client requests the "filesize - 1" for the small edgecase of handling a file which was completely downloaded, but not yet moved to the correct place as we get 416 errors in that case, but as we can handle 416 returns now we just special-case the situation of requesting the exact filesize and handle it as a 200 without content instead.
Diffstat (limited to 'mirror-failure.py')
0 files changed, 0 insertions, 0 deletions