R
rspoonz
I have a cgi script from which I wish to return a zipped file with an
extension other than .zip (ie .zzz)
I am creating a file-type object (cStringIO) and adding some zipped
information to it using zipfile.
I then return this with Content-Type: application/zip
The problem is that the file the browser sees has a .zip extension. Is
there any way I can change this extension?
extension other than .zip (ie .zzz)
I am creating a file-type object (cStringIO) and adding some zipped
information to it using zipfile.
I then return this with Content-Type: application/zip
The problem is that the file the browser sees has a .zip extension. Is
there any way I can change this extension?