Hi, On Sun, Feb 21, 2010 at 01:28:23AM -0800, Tai Lee wrote: > On Feb 21, 7:46 am, Forest Bond <for...@alittletooquiet.net> wrote: > > Okay, I think "disabled_middleware" is a bad name because it doesn't > > actually > > imply that all middleware should be disabled. Anyway, it seems like > > middleware > > could just check if isinstance(response, StreamingHttpResponse). > > I'm not sure I follow your reasoning here. If you just don't like the > name, that's a bike shed argument. I'm proposing that > `disabled_middleware` be a list or tuple of middleware that should NOT > be called on the response, because the author of the `HttpResponse` > subclass that defined `disabled_middleware` knows that those > middleware are not needed or will not work as intended.
Sorry, I badly misread your message. Now that I've reread it I see that the name is perfectly appropriate. Thanks, Forest -- Forest Bond http://www.alittletooquiet.net http://www.pytagsfs.org
signature.asc
Description: Digital signature