Version 1.7.2
Feautres and Improvements
- Added support for adding custom headers to
ia search
.
Bugfixes
internetarchive.utils.get_s3_xml_text()
is used to parse errors returned by S3 in XML.
Sometimes there is no XML in the response.
Most of the time this is due to 5xx errors.
Either way, we want to always return the HTTPError, even if the XML parsing fails.- Fixed a regression where
:
was being stripped from filenames in upload. - Do not create a directory in
download()
whenreturn_responses
isTrue
. - Fixed bug in upload where file-like objects were failing with a TypeError exception.