##// END OF EJS Templates
fixed archives headers, Thanks to Thomas Waldmann
marcink -
r1238:438524e8 default
parent child Browse files
Show More
@@ -157,8 +157,8 class FilesController(BaseController):
157
157
158 def archivefile(self, repo_name, revision, fileformat):
158 def archivefile(self, repo_name, revision, fileformat):
159 archive_specs = {
159 archive_specs = {
160 '.tar.bz2': ('application/x-tar', 'tbz2'),
160 '.tar.bz2': ('application/x-bzip2', 'tbz2'),
161 '.tar.gz': ('application/x-tar', 'tgz'),
161 '.tar.gz': ('application/x-gzip', 'tgz'),
162 '.zip': ('application/zip', 'zip'),
162 '.zip': ('application/zip', 'zip'),
163 }
163 }
164 if not archive_specs.has_key(fileformat):
164 if not archive_specs.has_key(fileformat):
General Comments 0
You need to be logged in to leave comments. Login now