diff options
author | Tim Burke <tim.burke@gmail.com> | 2017-04-10 18:51:45 -0700 |
---|---|---|
committer | Tim Burke <tim.burke@gmail.com> | 2017-04-21 10:30:01 -0700 |
commit | 527f2ff687faa120659cfefd82b8db26ddbfeafa (patch) | |
tree | 97e0432cd736fc00b74c3aa021e97fc417f933c9 /swiftclient | |
parent | 64da481ccde9863b0b062cadb27402a5e18b876e (diff) | |
download | python-swiftclient-527f2ff687faa120659cfefd82b8db26ddbfeafa.tar.gz |
Skip checksum validation on partial downloads
If we get back some partial content, we can't validate the MD5.
That's OK.
Change-Id: Ic1d65272190af0d3d982f3cd06833cac5c791a1e
Closes-Bug: 1642021
Diffstat (limited to 'swiftclient')
-rw-r--r-- | swiftclient/service.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/swiftclient/service.py b/swiftclient/service.py index c842d23..c5f815f 100644 --- a/swiftclient/service.py +++ b/swiftclient/service.py @@ -386,6 +386,7 @@ class _SwiftReader(object): # Some headers indicate the MD5 of the response # definitely *won't* match the ETag bad_md5_headers = set([ + 'content-range', 'x-object-manifest', 'x-static-large-object', ]) |