Skip to content

ResponseStreamReader does not handle chunked encoding #217

Description

@markpatton

We've had an issue with Water Butler being unable to read streams with chunked encoding.

If you look at the constructor of ResponseStreamReader(BaseStream) in waterbutler/core/streams/http.py you will see that if size is None and unsizable is False, the attempt to turn size into an int will fail. This seems to happen with chunked encoding. As a workaround for our testing, we just set self._size to None in that circumstance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions