Show More
@@ -157,8 +157,8 class FilesController(BaseController): | |||
|
157 | 157 | |
|
158 | 158 | def archivefile(self, repo_name, revision, fileformat): |
|
159 | 159 | archive_specs = { |
|
160 |
'.tar.bz2': ('application/x- |
|
|
161 |
'.tar.gz': ('application/x- |
|
|
160 | '.tar.bz2': ('application/x-bzip2', 'tbz2'), | |
|
161 | '.tar.gz': ('application/x-gzip', 'tgz'), | |
|
162 | 162 | '.zip': ('application/zip', 'zip'), |
|
163 | 163 | } |
|
164 | 164 | if not archive_specs.has_key(fileformat): |
General Comments 0
You need to be logged in to leave comments.
Login now