Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with origin Response.raw.read #43

Open
triostones opened this issue May 23, 2016 · 0 comments
Open

Incompatible with origin Response.raw.read #43

triostones opened this issue May 23, 2016 · 0 comments
Labels

Comments

@triostones
Copy link

Hi!

I find that the raw.read would raise TypeError when I call raw.read(decode_content=True) in my project. Here is the error message:

TypeError: read() got an unexpected keyword argument 'decode_content'

The reason is that StringIO.read is deferent from HTTPResponse.read and there is no compatiblity in current code.

@triostones triostones changed the title Incompatible with origin Response.raw.read Incompatible with origin Response.raw.read May 23, 2016
@patrys patrys added the bug label May 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants