| 1 | --- |
| 2 | fixes: |
| 3 | - | |
| 4 | Bug 1766235_: Handle HTTP headers per RFC 8187 |
| 5 | |
| 6 | Previously the glanceclient encoded HTTP headers as UTF-8 |
| 7 | bytes. According to `RFC 8187`_, however, headers should be |
| 8 | encoded as 7-bit ASCII. The glanceclient now sends all headers |
| 9 | as 7-bit ASCII. It handles unicode strings by percent-encoding_ |
| 10 | them before sending them in headers. |
| 11 | |
| 12 | .. _1766235: https://code.launchpad.net/bugs/1766235 |
| 13 | .. _RFC 8187: https://tools.ietf.org/html/rfc8187 |
| 14 | .. _percent-encoding: https://tools.ietf.org/html/rfc3986#section-2.1 |