Hi,
>
> I'm trying to download a very large text file, and I'd like
> to turn off buffering on a per-page basis, since most of our
> pages don't take too long to generate.
>
> After looking through the docs, I've tried setting various
> combinations of flags in config:
> optEarlyHttpHeader, optSendHttpHeader, dbgFlushOutput
>
These options are no longer supported in Embperl 2 (see README.v2).
Unfortuinately Embperl 2 cannot turn off buffering and delivers the page all
at once
> But it's not clear to me that this works on per page basis
> for embperl 2, or if it does, how to output my "special"
> headers, rather than the standard headers:
> $http_headers_out{'Content-Type'} = 'text/list';
> $http_headers_out{'Content-Disposition'} = 'attachment;
> filename="recipientEmails.txt"';
>
Setting header in that way should work, but you should not set one of the
options optEarlyHttpHeader, optSendHttpHeader.
Gerald
** Virus checked by BB-5000 Mailfilter **
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]