= bug description =
$ curl --verbose --write-out %{http_code}\n%{content_type}\n%{filename_effective}\n --insecure --retry 10 --retry-delay 2 --compressed -JOL http://pkgs.fedoraproject.org/repo/pkgs/ocaml-ulex/ulex-1.1.tar.gz/ce49a013bc4a0e085977a9fe157017bf/ulex-1.1.tar.gz
says
snip < Content-Type: application/x-gzip < Content-Encoding: x-gzip snip
but
$ file ulex-1.1.tar.gz ulex-1.1.tar.gz: POSIX tar archive (GNU)
= bug analysis =
This causes scripted downloads to fail. Particularly, the OCaml Package Manager, OPAM, uses https://github.com/OCamlPro/opam-repository/blob/master/packages/ulex.1.1/url this URL and fails to gunzip the tar.
= fix recommendation =
Edit the Apache config which probably contains an AddEncoding directive on files that match *.gz or something similar. This is not necessary and confuses clients (browsers do frightening and terrible sniffing that scripts shouldn't have to).
Fixed.
Please let us know if you still see any issues with it.
Login to comment on this ticket.