On Thu, Dec 17, 2009 at 12:58 PM, Ales Zoulek <ales.zou...@gmail.com> wrote: > >> The entire point of using a generator driven response is to avoid >> blocking until the entire response is generated, so going through the >> response.content property would not be useful. >> > > Using your patch the respose will be blocking as well. The block wil just > happen a bit later in middleware processing. > >
No, it wont - that is the entire point of it! It behaves exactly as before, ie non-blocking, but after the response has been fully delivered to the client it stores a buffered version of it in the cache. The buffering doesn't block the response from being delivered to the client. Cheers Tom -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.