hgweb mime-types for archives

Christian Ebert blacktrash at gmx.net
Wed Apr 4 02:39:45 CDT 2007


* Matt Mackall on Tuesday, April 03, 2007 at 22:02:56 -0500:
>> 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.

Yes. I meant I can't reproduce it with Safari 1.3.2 on
MacOS 10.3.9 -- 10.4 has a different version of Safari where this
might have changed.

c
-- 
_B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>


More information about the Mercurial mailing list