Skip to content

HEAD request using http/2 fails on bodies that don't implement is_end_stream #2279

@jeromegn

Description

@jeromegn

Trying to do a HEAD request on an http/2 server that uses response bodies that don't implement HttpBody::is_end_stream (so that it sometimes return true) fail with an http2 protocol error.

I noticed this while wrapping a hyper::Body but not passing though is_end_stream

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-http2Area: HTTP/2 specific.C-bugCategory: bug. Something is wrong. This is bad!E-easyEffort: easy. A task that would be a great starting point for a new contributor.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions