truncated response content in middleware

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

truncated response content in middleware

Václav Mach

i'm trying to build my own middleware for server side javascript
prerending. It's currently very simple (see attachment). It seems to be
working fine for few pages but for some other pages the reponse.content
is somehow truncated (line 20). The reponse.content is truncated at
exactly 4096 bytes. Is there some size limit to the reponse that is
processed at a time? Can i somehow process the whole response?

Václav Mach
tel: +420 234 680 206
CESNET, z.s.p.o.

You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit (1K) Download Attachment
smime.p7s (4K) Download Attachment