pycontribs / python-crowd

A python client to the Atlassian Crowd REST API. ❗️seeking-new-maintainer
https://github.com/pycontribs/python-crowd
BSD 2-Clause "Simplified" License
45 stars 41 forks source link

Parsing UTF-8 responses #12

Closed terinjokes closed 11 years ago

terinjokes commented 11 years ago

By using the json() method on the Response object, we can get the unpacked representation of the JSON response properly decoded into unicode strings.

Edited a response from the stub server to ensure that Crowd doesn't fail with the response, as well as an explicit test to ensure the returned string actually contains the UTF-8 characters.

terinjokes commented 11 years ago

Believe this fixes #5

ssbarnea commented 11 years ago

@aelse that's a must

aelse commented 11 years ago

@terinjokes Great patch, thanks a lot.