-
Notifications
You must be signed in to change notification settings - Fork 200
Consistently serve useful things as text #176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Ah, so the cabal file server from the direct link on the package page is served as |
-----BEGIN PGP SIGNED MESSAGE----- On 04/01/14 21:28, Erik Hesselink wrote:
iF4EAREIAAYFAlLIb3YACgkQRtClrXBQc7U9mgEAgYDCM+aZ3FGS/4S07YUTW/8G |
Change MIME type of .cabal files to text/x-cabal There does seem to be any official standard. hackage uses text/plain: haskell/hackage-server#176 But I can agree that text/x-cabal is better than application/x-cabal.
I'm not exactly sure what the problem is, but please observe how [0] is served as text, whilst [1] is not. This means that users need to download [1] to read it. This is inconvenient e.g. when doing QA on a package repository.
[0] http://hackage.haskell.org/package/random-1.0.1.1/random.cabal
[1] http://hackage.haskell.org/package/fastcgi-3001.0.2.4/src/fastcgi.cabal
The text was updated successfully, but these errors were encountered: