Another way around this would be to generate the csv file in the controller 
instead of in the view. Set the appropriate headers and the simply return 
outfile.getvalue() from the controller and your browser will download the 
csv file generated in the controller.

Reply via email to