aboutsummaryrefslogtreecommitdiffstats
path: root/bin/deliver_file2disk.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/deliver_file2disk.py')
-rwxr-xr-xbin/deliver_file2disk.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/deliver_file2disk.py b/bin/deliver_file2disk.py
index e5f13c0..dd9ab30 100755
--- a/bin/deliver_file2disk.py
+++ b/bin/deliver_file2disk.py
@@ -149,6 +149,8 @@ class DeliverFatcatDisk:
return ('wayback-error', None)
except requests.exceptions.TooManyRedirects:
return ('too-many-redirects', None)
+ except requests.exceptions.ChunkedEncodingError:
+ return ('chunked-encoding', None)
if resp.status_code != 200:
return ('fetch:{}'.format(resp.status_code), None)
else: