diff options
author | Olli Pottonen <olli.pottonen@iki.fi> | 2014-08-09 09:09:23 +1000 |
---|---|---|
committer | Olli Pottonen <olli.pottonen@iki.fi> | 2014-08-09 09:09:23 +1000 |
commit | ea5b329183449762c8c9bcf4b0baa0a65ba06238 (patch) | |
tree | 9857de04b69466e905695cc13905e4c3083c547c /boto | |
parent | 36f9e01ec1aafc1ba3412f3845a63b91ee73fcde (diff) | |
download | boto-ea5b329183449762c8c9bcf4b0baa0a65ba06238.tar.gz |
Do not percent-encode white space character in S3 metadata.
Diffstat (limited to 'boto')
-rw-r--r-- | boto/connection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boto/connection.py b/boto/connection.py index 9846a879..54a26728 100644 --- a/boto/connection.py +++ b/boto/connection.py @@ -371,7 +371,7 @@ class HTTPRequest(object): for key in self.headers: val = self.headers[key] if isinstance(val, six.text_type): - safe = '!"#$%&\'()*+,/:;<=>?@[\\]^`{|}~' + safe = '!"#$%&\'()*+,/:;<=>?@[\\]^`{|}~ ' self.headers[key] = quote(val.encode('utf-8'), safe) setattr(self, '_headers_quoted', True) |