2012/11/28 Gavin Wahl <gavinw...@gmail.com>

> I would like to avoid having two code paths, one with streaming and one
> without, in new middleware.
>

Hi Gavin,

Could you give an example of a middleware that:
  - needs to alter the content,
  - will work identically both on regular HttpResponses and
StreamingHttpResponses,
  - will not consume a streamed content (that's part of the contract
of StreamingHttpResponse)?

Thanks,

-- 
Aymeric.

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

Reply via email to