On Feb 26, 11:50 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
Hi,
I need to create a response that downloads a file. The file is
generated by a 3rd party api that takes an output stream as the target
for the file. As the file can be rather large, I would like to stream
this file
Marius marius.dan...@gmail.com writes:
On Feb 26, 11:50 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
Hi,
I need to create a response that downloads a file. The file is
generated by a 3rd party api that takes an output stream as the target
for the file. As the file can be rather large, I
On Fri, Feb 26, 2010 at 12:06 PM, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
So the thread creation/scheduling and the two times file copying could be
avoided by writing directly to the output stream. But I agree this would
have to be special cased somehow. It's not an urgent issue atm, but
On Feb 26, 1:29 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
On Fri, Feb 26, 2010 at 12:06 PM, Jeppe Nejsum Madsen je...@ingolfs.dk
wrote:
So the thread creation/scheduling and the two times file copying could be
avoided by writing directly to the output stream. But I agree this would
On Fri, Feb 26, 2010 at 1:53 PM, Marius marius.dan...@gmail.com wrote:
On Feb 26, 1:29 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
On Fri, Feb 26, 2010 at 12:06 PM, Jeppe Nejsum Madsen je...@ingolfs.dk
wrote:
So the thread creation/scheduling and the two times file copying could be