python-glanceclient/glanceclient/common
Darja Shakhray 4a55671091 Fix "Codec can't encode characters"
Headers were encoded in HTTPClient, but when glance client started
to use SessionClient this functionality was lost.

This commit replaces static method "encode_headers" from HTTPClient
and makes it a common function, that SessionClient can use when
converting image meta to headers.


Change-Id: If9f8020220d2a0431b4241b38b9c83c09c0d75cb
Closes-bug: #1574587
(cherry picked from commit 9329ef0bc4)
2016-05-23 14:37:35 +00:00
..
__init__.py Basic get/list operations work 2012-03-26 22:48:48 -07:00
base.py Reuse class Manager from common code 2014-06-12 14:42:46 +03:00
exceptions.py Fix misspellings in python-glanceclient 2014-02-07 13:31:58 +08:00
http.py Fix "Codec can't encode characters" 2016-05-23 14:37:35 +00:00
https.py Remove monkey-patching for getsockopt 2016-01-15 16:29:27 +03:00
progressbar.py Enable flake8 checks 2015-07-21 17:08:27 +03:00
utils.py Merge "Handle 403 forbidden on download" 2016-02-29 13:04:08 +00:00