Author: jmorliaguet Date: Sat Jun 24 01:13:39 2006 New Revision: 3506 Modified: cpsskins/branches/paris-sprint-2006/setup/snapshot.py cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/views.py
Log: - using more official mime-type Modified: cpsskins/branches/paris-sprint-2006/setup/snapshot.py ============================================================================== --- cpsskins/branches/paris-sprint-2006/setup/snapshot.py (original) +++ cpsskins/branches/paris-sprint-2006/setup/snapshot.py Sat Jun 24 01:13:39 2006 @@ -37,7 +37,7 @@ def __init__(self, data): self.data = data - self.contentType = 'application/tgz' + self.contentType = 'application/x-gzip' self.filename = 'site-%4d-%02d-%02d-%02d.%02d.%02d.tgz' % \ time.gmtime()[:6] Modified: cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/views.py ============================================================================== --- cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/views.py (original) +++ cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/views.py Sat Jun 24 01:13:39 2006 @@ -107,7 +107,7 @@ raise ValueError("No snaphost filename specified.") response = self.request.response - response.setHeader('content-type', 'application/tgz') + response.setHeader('content-type', 'application/x-gzip') response.setHeader('Content-disposition', 'attachment; filename=%s' % filename) -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins