summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-06-06 18:14:05 +0000
committerGerrit Code Review <review@openstack.org>2018-06-06 18:14:05 +0000
commit1cf00a5cc9c095071d18137c44f2722d0e20d84e (patch)
treec036df32adbbff0a462b53837dc5e48f646dfe6a
parentc19192221bb0463c4faaf06b6cb89dab2761a03e (diff)
parentc918dae2aab9c318fc00c1fdbb15e716a32cf507 (diff)
downloadpython-glanceclient-1cf00a5cc9c095071d18137c44f2722d0e20d84e.tar.gz
Merge "Add release note for HTTP headers fix"2.11.1
-rw-r--r--releasenotes/notes/http-headers-per-rfc-8187-aafa3199f863be81.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/releasenotes/notes/http-headers-per-rfc-8187-aafa3199f863be81.yaml b/releasenotes/notes/http-headers-per-rfc-8187-aafa3199f863be81.yaml
new file mode 100644
index 0000000..ab21b3c
--- /dev/null
+++ b/releasenotes/notes/http-headers-per-rfc-8187-aafa3199f863be81.yaml
@@ -0,0 +1,14 @@
+---
+fixes:
+ - |
+ Bug 1766235_: Handle HTTP headers per RFC 8187
+
+ Previously the glanceclient encoded HTTP headers as UTF-8
+ bytes. According to `RFC 8187`_, however, headers should be
+ encoded as 7-bit ASCII. The glanceclient now sends all headers
+ as 7-bit ASCII. It handles unicode strings by percent-encoding_
+ them before sending them in headers.
+
+ .. _1766235: https://code.launchpad.net/bugs/1766235
+ .. _RFC 8187: https://tools.ietf.org/html/rfc8187
+ .. _percent-encoding: https://tools.ietf.org/html/rfc3986#section-2.1