Skip to content

Handle HEAD responses with Brotli decoder #79

Description

@Kludex

Originally opened by @sethmlarson on 2019-08-19 02:23:06 in encode/httpx

Currently if you receive a response with Content-Encoding: br set and no body we get an error because Brotli doesn't like being called on an empty stream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions