##// END OF EJS Templates
Correct Content-Type header values for archive downloads....
Ry4an Brase -
r12570:a72c5ff1 stable
parent child Browse files
Show More
@@ -281,8 +281,8 b' class hgweb(object):'
281 yield {"type" : i, "extension" : spec[2], "node" : nodeid}
281 yield {"type" : i, "extension" : spec[2], "node" : nodeid}
282
282
283 archive_specs = {
283 archive_specs = {
284 'bz2': ('application/x-tar', 'tbz2', '.tar.bz2', None),
284 'bz2': ('application/x-bzip2', 'tbz2', '.tar.bz2', None),
285 'gz': ('application/x-tar', 'tgz', '.tar.gz', None),
285 'gz': ('application/x-gzip', 'tgz', '.tar.gz', None),
286 'zip': ('application/zip', 'zip', '.zip', None),
286 'zip': ('application/zip', 'zip', '.zip', None),
287 }
287 }
288
288
General Comments 0
You need to be logged in to leave comments. Login now