Glimpse/Glimpse — pull request #134 by jeffora (2011-11-11 02:21:00+00:00)
Title: Implement Stream.Flush method and forward it through to OutputStream

Other libraries can implement filters, which Glimpse tries to wrap. However, `GlimpseResponseFilter` only forwards on `Write` methods to wrapped stream, and other implementations (for instance Coolite/Ext.NET) perform writing to the actual `Response` stream only when `Flush`ed. As the `GlimpseResponseFilter` doesn't implement `Flush`, the wrapped stream's `Flush` method is never called, and the `Response` stream is never written to, resulting in an empty response.

Ultimately, `GlimpseResponseFilter` should probably inherit `Stream` rather than `MemoryStream` and implement all `Stream` methods, simply forwarding on any it doesn't need to intercept to `OutputStream`