H William Welliver III wrote:
In short, subclass Request, implement shuffler there and add it as an option alongside the standard request object. There???s plenty of precedent for that (various backend flavors, various hilfes, etc) and that approach won???t cause any heartburn for anyone.
Well, I looked at it. Subclassing it is a bit messy. How about this instead: - By default it will use the old buffered send. - If you use set_mode(SHUFFLER) prior to using response_and_finish() it will use the shuffler to send.