kennethreitz/requests — Issue #415: Tests fail for application/json content type
Author: francescomari
Created: 2012-02-07 16:41:02+00:00
State: open

Almost every test case reads the property `response.text` to assert against response data. According to `Response.text()`, this property is `None` if it's not possible to detect the encoding of the content in the response. Should the tests use `response.content` instead?