Skip to content

Conversation

avdv
Copy link

@avdv avdv commented Sep 12, 2025

Issuing a GET request to /package/<name-version>.tar.gz on hackage.haskell.org sometimes
(for whatever reason) responds with an invalid header when using chunked transfer
encoding.

See https://discourse.haskell.org/t/hackage-errors-invalid-hash-s-5170-invalidchunkheaders/12935

Specifying a content length explicitly (hopefully) circumvents the problem.

Issuing a GET request to `/package/<name-version>.tar.gz` on hackage.haskell.org sometimes
(for whatever reason) responds with an invalid header when using chunked transfer
encoding.

See https://discourse.haskell.org/t/hackage-errors-invalid-hash-s-5170-invalidchunkheaders/12935

Specifying a content length explicitly (hopefully) circumvents the problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant