Changeset - 438524e84c57
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 15 years ago 2011-04-09 20:46:15
marcin@python-works.com
fixed archives headers, Thanks to Thomas Waldmann
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/files.py
Show inline comments
 
@@ -157,8 +157,8 @@ class FilesController(BaseController):
 

	
 
    def archivefile(self, repo_name, revision, fileformat):
 
        archive_specs = {
 
          '.tar.bz2': ('application/x-tar', 'tbz2'),
 
          '.tar.gz': ('application/x-tar', 'tgz'),
 
          '.tar.bz2': ('application/x-bzip2', 'tbz2'),
 
          '.tar.gz': ('application/x-gzip', 'tgz'),
 
          '.zip': ('application/zip', 'zip'),
 
        }
 
        if not archive_specs.has_key(fileformat):
0 comments (0 inline, 0 general)