changeset 1308 | 2073e5a71008 |
parent 1275 | a1a84dd489ff |
child 1320 | 5f277e73778f |
--- a/mercurial/hgweb.py +++ b/mercurial/hgweb.py @@ -685,7 +685,7 @@ class hgweb: encoding = "gzip" else: encoding = "x-bzip2" - req.header([('Content-type', 'application/x-tar'), + req.header([('Content-type', 'application/x-tar'), ('Content-disposition', 'attachment; filename=%s%s%s' % (name[:-1], '.tar.', type)), ('Content-encoding', encoding)])