mercurial/hgweb/hgweb_mod.py
branchstable
changeset 12570 a72c5ff1260c
parent 11370 db3f6f0e4e7d
child 12572 aa0d842b4f5d
--- a/mercurial/hgweb/hgweb_mod.py	Mon Sep 27 09:19:48 2010 +0200
+++ b/mercurial/hgweb/hgweb_mod.py	Mon Sep 20 14:56:08 2010 -0500
@@ -281,8 +281,8 @@
                 yield {"type" : i, "extension" : spec[2], "node" : nodeid}
 
     archive_specs = {
-        'bz2': ('application/x-tar', 'tbz2', '.tar.bz2', None),
-        'gz': ('application/x-tar', 'tgz', '.tar.gz', None),
+        'bz2': ('application/x-bzip2', 'tbz2', '.tar.bz2', None),
+        'gz': ('application/x-gzip', 'tgz', '.tar.gz', None),
         'zip': ('application/zip', 'zip', '.zip', None),
         }