-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Howdy,
On Wed, 10 Sep 2003, Steve Comrie wrote:
> > You had asked for a way to send the PDF a few pieces at a time to
> > avoid having the entire file in memory at once. Setting
> > '$ENV{CGI_APP_RETURN_ONLY}', in combination with passing 'none' into
> > header_type(), does exactly that :-)
>
> Eric, I think you're confusing me with Steve Hay, who originally asked the
> question ;)
Gak! You're right, I am. My appologies to both of you :-)
> Setting $self->header_type('none'); followed by printing the headers
> yourself and then opening a file in the run-mode and printing it line by
> line and finally followed by return ''; *should* hypothetically solve the
> problem without relying on undocumented CGIApp features.
You're also right here. That didn't click when I first looked at your
code. My bad :-) This definitely solves the problem at hand, and is
much better off than using the $ENV option.
Thanks for your thoughts!
-Eric
- --
Eric Andreychek | Lucy: "What happens if you practice the
Eric Conspiracy Secret Labs | piano for 20 years and then end up not
suppressed | being rich and famous?"
http://openthought.net | Schroeder: "The joy is in the playing."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE/Xz4xR5UKaDAjAG4RAu3NAJ9/G4lfK0KEzJ94R1xs2IwEhQ7CQwCg1roY
lDJWZp5MiGnYECBSiUepp2E=
=oBlS
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.