Comment 5 for bug 1574587

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (master)

Reviewed: https://review.openstack.org/316054
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=9329ef0bc40375cd9b115415e10baf89789f56f0
Submitter: Jenkins
Branch: master

commit 9329ef0bc40375cd9b115415e10baf89789f56f0
Author: Darja Shakhray <email address hidden>
Date: Fri May 13 15:03:41 2016 +0300

    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