GitHub user Kami opened a pull request:

    https://github.com/apache/libcloud/pull/1111

    [Common] Make sure we normalize header types for test mock connection class

    This pull request fixes the issue reported in 
https://issues.apache.org/jira/browse/LIBCLOUD-945.
    
    We normalized header types inside the actual Connection class, but not 
inside the Connection class used by the tests. That's why some of the tests 
failed with newer version of `requests` which doesn't automatically cast header 
values to strings anymore.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Kami/libcloud make_sure_hader_value_is_string

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/libcloud/pull/1111.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1111
    
----
commit 7953b24e5126a193b1a5925ee7fa52c7cf0a3a3d
Author: Tomaz Muraus <[email protected]>
Date:   2017-09-19T15:27:27Z

    Fix Azure blobs driver, make sure Content-Length header value is a
    string and not a number.
    
    Part of LIBCLOUD-945

commit 6e19a63847a6a554aef9078c7efce60c175ad32e
Author: Tomaz Muraus <[email protected]>
Date:   2017-09-19T15:28:08Z

    Add test cases for it.
    
    Part of LIBCLOUD-745.

----


---

Reply via email to