2012/11/28 Gavin Wahl <[email protected]> > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
