streaming dynamic downloads?
jemminger at gmail.com
Sun May 18 06:23:00 MSD 2008
I have a php app running through fastcgi, and there's a page where I
stream out a file for the user to download:
$output = dynamically_generated_content();
header("Content-disposition: attachment; filename=somefile.xml");
This works fine in apache, but in nginx all I get is a zero-size file
called 'somefile' (no extension)
Is there a way to make this work? The file is generated on the fly.
More information about the nginx