(Migrated) HTTP Transfer file in chunks with a generator

(This message has been automatically imported from the retired mailing list)

Hello all=2C

I was wondering if a Zato service is able to send a file (which content com=
es from a generator) in an HTTP response and send it in chunks (e.g. chunk=
ed transfer encoding).

Cheers=2C
Andrea.
=

On 23/04/15 17:19, Andrea Peter wrote:

I was wondering if a Zato service is able to send a file (which content
comes from a generator) in an HTTP response and send it in chunks (e.g.
chunked transfer encoding).

Hello Andrea,

this is not possible - a response must be fully produced by a service.

In principle, I believe this could be done, though one would also take
HAProxy into account, but it is not possible now.