Ticket #498 (new defect)
package downloads confuse IE6 and webkit-gtk browsers
| Reported by: | duncan | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | hackageDB website | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | uzytkownik2@… | Difficulty: | normal |
| GHC Version: | Platform: | Windows |
Description
In IE6 the .tar.gz packages from the Hackage website get downloaded and saved by the browser with the wrong name. For example foo-1.0.tar.gz gets saved as foo-1.0.tar.tar.
Currently the apache config for the hackage website is such that it send these headers for .tar.gz files:
Content-Type: application/x-tar Content-Encoding: x-gzip
This apparently confuses IE6. This has been reported elsewhere previously.
So we are looking for help in finding a workaround. We want to adjust our apache config so that for the IE6 user agent it reports a mime time and encoding that will make IE6 save the file properly. For example we guess that sending Content-Type: application/x-gzip and no Content-Encoding would make IE6 do the right thing.
So how do we actually configure apache to do this? Can we get some help testing it?
