Closed as duplicate of#1269
Description
When running cabal haddock --haddock-for-hackage
it results in a .tar.gz
file being created.
But trying to upload it (chrome, firefox) I'm getting the error:
Unexpected content-type
For this resource the content-type was expected to be application/x-tar, rather than application/gzip
And have to undo the gzip wrapping the cabal did for me before uploading it again.
This is annoying and wasteful.