Try set Response.app_iter.
On Saturday, December 22, 2012 3:49:37 AM UTC+8, kk.gnu wrote:
Hello all.
I wish to send across an ods (spreadsheet) file from my pylons
controller in such a way that the browser should ask the user to
download the file (by presenting the usual download dialog
On Friday, December 21, 2012 2:49:37 PM UTC-5, kk.gnu wrote:
Hello all.
I wish to send across an ods (spreadsheet) file from my pylons
controller in such a way that the browser should ask the user to
download the file (by presenting the usual download dialog of course ).
Can some one
On 12/22/2012 02:10 AM, Jason wrote:
hi Jason,
Thanks for the idea.
Once you have the ods as a file object in your view-callable you can
return it with something like:
filecontent = myfile.read()
headers = {
'Content-Type': 'application/ods',
'Content-Length':
Hello all.
I wish to send across an ods (spreadsheet) file from my pylons
controller in such a way that the browser should ask the user to
download the file (by presenting the usual download dialog of course ).
Can some one help here?
happy hacking.
Krishnakant.
--
You received this message
On Friday, December 21, 2012 2:49:37 PM UTC-5, kk.gnu wrote:
Hello all.
I wish to send across an ods (spreadsheet) file from my pylons
controller in such a way that the browser should ask the user to
download the file (by presenting the usual download dialog of course ).
Can some one