We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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:
raw.read
TypeError
raw.read(decode_content=True)
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.
StringIO.read
HTTPResponse.read
The text was updated successfully, but these errors were encountered:
Response.raw.read
No branches or pull requests
Hi!
I find that the
raw.read
would raiseTypeError
when I callraw.read(decode_content=True)
in my project. Here is the error message:The reason is that
StringIO.read
is deferent fromHTTPResponse.read
and there is no compatiblity in current code.The text was updated successfully, but these errors were encountered: