Skip to content

Conversation

@MangoIV
Copy link
Contributor

@MangoIV MangoIV commented Nov 24, 2024

Fixes #1269

  • documentation tarballs produced by cabal haddock are compressed
  • their mimetype is application/gzip
  • keeps the applicatoin/x-tar and applicatoin/x-gzip even though there is no tar mimetype and there's now (since 2014) a gzip mimetype, according to RFC6713
  • remove the expectUncompressedTarball function as it is now dead code
  • remove a pair of redundant paren and replace infix liftM with <$>

- documentation tarballs produced by cabal haddock are compressed
- their mimetype is application/gzip
- keeps the applicatoin/x-tar and applicatoin/x-gzip even though there
  is no tar mimetype and there's now (since 2014) a gzip mimetype,
  according to RFC6713
- remove the expectUncompressedTarball function as it is now dead code
- remove a pair of redundant paren and replace infix `liftM` with <$>
@MangoIV
Copy link
Contributor Author

MangoIV commented Nov 24, 2024

Pinging @phadej and @gbaz for review as your were participating in the original issue.

Thank you.

@ulysses4ever
Copy link
Contributor

@gbaz I believe this would be worth merging

@gbaz gbaz merged commit 5252a9c into haskell:master Dec 29, 2024
12 checks passed
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.

Allow uploading docs as tar.gz

3 participants