On Tue, 13 May 2025 21:45:35 -0500
Mithun Bhattacharya <mit...@gmail.com> wrote:

Hi Mithun,

> You should do the flush after the ContentType - content_type is header the
> H3 is body of the response or at least it should be.
> 

I can do that, but then I need to flush again after $r->print('<h3>Building tar 
file</h3>') ;

Also, in mod_perl Developer's Cookbook (by Young, Lindner & Kobes), see 6.9 
Flushing the Print Buffers, page 202. They give an example where they flush 
after $r->print, not before.

> - once rflush has happened the client side will wait forever without a
> timeout.
> 

Thanks for the tip. That lead me to a solution without javascript, nice.


-- 
                                        Bien à vous, Vincent Veyron

https://legalcase.libremen.com
Open source legal case, contract and insurance claims management software

Reply via email to