[Zope] Response with a big file
Dieter Maurer
dieter@handshake.de
Mon, 16 Sep 2002 20:12:42 +0200
Antonio Beamud Montero writes:
> I have a problem when I try to return a big file (a multimedia file
> exactly) in a response, i.e. a user request for a file, the a I generate
> this file and return him with the minimal headers (like content-type,
> Content-disposition...)... then zope starts to eat CPU time (99%) and
> spends a lot of time in start to send this response...
>
> What can be the problem?
Usually, Zope determines the complete response and only then starts
to return anything to the browser.
You can use "RESPONSE.write" to change this.
Search the mailing list archives for more advice.
Dieter