python-glanceclient/releasenotes/notes/http-headers-per-rfc-8187-aafa3199f863be81.yaml
Brian Rosmaita c918dae2aa Add release note for HTTP headers fix
Change-Id: I08838ff4682290527565e8cf687945307034c5ba
2018-06-06 12:05:22 -04:00

15 lines
560 B
YAML

---
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