Skip to content

Should BaseHTTPResponse.readable() return False? #2765

@pquentin

Description

@pquentin

As mentioned by @franekmagiera in #2712 (comment), it's surprising for BaseHTTPResponse to return True in readable() as read() is not implemented. If we need to change this, doing it before the urllib3 2.0 release will avoid a breaking change. Should we keep True, change to false False or raise NotImplementedError?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions