Skip to content

gzip middleware fails with Content-Length header #444

Description

@optimality

If Content-Length header is set, gzip probably writes the wrong number of bytes. We should delete the Content-Length header prior to writing the headers on a gzipped response.

See golang/go#14975 for more context.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions