01-07-06 07:46 AM
On 05/01/2006, at 3:15 PM, Gregory (Grisha) Trubetskoy wrote:
>
> On Wed, 4 Jan 2006, Graham Dumpleton (JIRA) wrote:
>
>
> I kinda mentioned this in the previous e-mail - PSP always does not
> flush output, in fact that 0/1 argument was added to req.write() just
> for PSP. So for pure PSP pages, content-length _should_ work (haven't
> tested it).
Unfortunately, the CONTENT_LENGTH output filter does not in fact work
with PSP.
The reason is that although each individual req.write() doesn't flush,
the PSP code itself does an explicit flush after running the generated
page code.
exec code in global_scope
req.flush()
For it to work, the req.flush() call would have to be removed.
Graham
[ Post a follow-up to this message ]
|