hgweb mime-types for archives

Matt Mackall mpm at selenic.com
Tue Apr 3 22:02:56 CDT 2007


On Wed, Apr 04, 2007 at 12:52:26PM +1000, Sean wrote:
> Christian,
> 
> What is crew ?

crew is the repository where most changes are merged:

http://hg.intevation.org/mercurial/crew/

> On 4/4/07, Christian Ebert <blacktrash at gmx.net> wrote:
> >* Luc Heinrich on Tuesday, April 03, 2007 at 17:15:35 +0200:
> >> Why is hgweb serving the gz and bz2 archives using the 
> >'application/x-tar'
> >> mime type ? This causes various problems depending on the user agent. For
> >> exemple, downloading tip.tar.gz with Safari will produce tip.tar.gz.tar.
> >
> >FWIW, I can't reproduce this, but I am running tip of crew.

It's probably specific to Safari. I think we are indeed sending
application/x-tar MIME types. The code here hasn't changed any time
recently.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list