Commit 2d94df67 authored by Bryton Lacquement's avatar Bryton Lacquement 🚪

zuite: fix

parent 7c0fe44d
......@@ -259,10 +259,9 @@ class Zuite( OrderedFolder ):
return bits
RESPONSE.setHeader('Content-type', 'application/zip')
RESPONSE.setHeader('Content-length', str( len( bits ) ) )
RESPONSE.setHeader('Content-disposition',
'inline;filename=%s' % archive_name )
RESPONSE.write(bits)
return bits
security.declareProtected(ManageSeleniumTestCases, 'manage_createSnapshot')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment