summaryrefslogtreecommitdiff
path: root/tests/test_swiftclient.py
diff options
context:
space:
mode:
authorgroqez <groqez@yopmail.net>2014-03-05 00:35:36 +0100
committergroqez <groqez@yopmail.net>2014-03-18 19:47:02 +0100
commitbffdadee57f4d412cb36db7e3f7303401d8c39d6 (patch)
tree6592e745c077305f24739368be6fd507b4736b8f /tests/test_swiftclient.py
parentd721dc7b61dabe49a603b781d44a05bfd9c9bed4 (diff)
downloadpython-swiftclient-bffdadee57f4d412cb36db7e3f7303401d8c39d6.tar.gz
Decode HTTP responses, fixes bug #1282861
By default, the HTTPConnection class expose the raw.read urllib3 function which doesn't do any decoding on the http response. We can fix this by passing decode_content=True to raw.read(). Change-Id: I7d42d31ae516705d1bde2769e642931308116c7a
Diffstat (limited to 'tests/test_swiftclient.py')
0 files changed, 0 insertions, 0 deletions