Fixed the 3d preview on Safari

This commit is contained in:
David Carley
2021-03-23 22:19:03 -07:00
parent 47cec0dae3
commit b989d9c778
2 changed files with 24 additions and 30 deletions

View File

@@ -312,7 +312,7 @@ class PathHandler(bbctrl.APIHandler):
self.write_json(meta)
return
filename = filename + '-' + dataType[1:] + '.gz'
filename = filename + '-' + dataType[1:]
self.set_header('Content-Disposition', 'filename="%s"' % filename)
self.set_header('Content-Type', 'application/octet-stream')
self.set_header('Content-Encoding', 'gzip')