Skip to content

Incompatible with origin Response.raw.read #43

@triostones

Description

@triostones

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions