Thanks to visit codestin.com
Credit goes to github.com

Skip to content

request.content.iter_chunks() stalls when content is empty. #3186

@ArthurKantor

Description

@ArthurKantor

Long story short

The title says it all.

Shouldn't EmptyStreamReader.readchunk on its face return (b'', True) and not return (b'', False) ?

Without it, the special EOS chunk is never sent...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    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