diff options
author | Chris Buccella <chris.buccella@antallagon.com> | 2014-11-06 15:33:14 -0500 |
---|---|---|
committer | Chris Buccella <chris.buccella@antallagon.com> | 2014-11-07 01:01:53 -0500 |
commit | 68f271aae2c45cd65d5a93659a812f9b8e823212 (patch) | |
tree | 1fdb3b86d24b2ff34c512ab9c3649c4e8890f98b /swiftclient/multithreading.py | |
parent | eace20c14a0d4e19d1cbd48ce73cfa81da5f6319 (diff) | |
download | python-swiftclient-68f271aae2c45cd65d5a93659a812f9b8e823212.tar.gz |
Check that content_type header exists before using
When downloading an object, the content_type header is inspected
to determine if a directory needs to be created. This header is
assumed to always be in the response; if it isn't an Exception is
raised. swiftclient should not assume content_type will always be
set.
Change-Id: I156195c02b6e0bc398fa962eb1f78c4dbddd1596
Diffstat (limited to 'swiftclient/multithreading.py')
0 files changed, 0 insertions, 0 deletions