On 8/24/07, whitesmell <[EMAIL PROTECTED]> wrote:
>
> One of my  response content was build by several synchronous method,
> how can I flush my  response to client browser as soon as some part of
> the  response content is ready?
>
> Most Http response object(both java and .net) has a method flush() to
> do so . But django's HttpResponse's flush method does nothing :

The HttpResponse constructor takes either a string or an iterable.

To trickle content down, you can make the iterable a generator.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to