[PATCH] Correct Content-Type header values for archive downloads

Dan Villiom Podlaski Christiansen danchr at gmail.com
Mon Sep 20 17:57:43 CDT 2010


On 20 Sep 2010, at 23:41, Ry4an Brase wrote:

> I've changed the .tar.gz and .tar.bz2 Content-Types to
> application/x-gzip and application/octet-stream, restively.  Which
> yields correctly named download artifacts.

Isn't ‘application/x-bzip2’ the correct MIME-type for BZip2? That's  
what I get from ‘file -I’ locally as well as what Wikipedia lists it  
as.[1]

[1] <http://en.wikipedia.org/wiki/BZip2>

--

Dan Villiom Podlaski Christiansen
danchr at gmail.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1943 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100921/eb6f907e/attachment.bin>


More information about the Mercurial-devel mailing list