Re: Return a 200 0K status and send the content of the request later

Vincent Veyron <[email protected]> Fri, 16 May 2025 01:11:08 +0200
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Tue, 13 May 2025 21:45:35 -0500
Mithun Bhattacharya <[email protected]> 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.
>=20

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 flus=
h after $r->print, not before.

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

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


--=20
					Bien =E0 vous, Vincent Veyron

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