Bug#584827: file_wrapper optimisation cannot possibly work

2010-06-06 Thread Enrico Zini
On Sun, Jun 06, 2010 at 11:33:20PM +0100, Enrico Zini wrote: > Now, the WSGI server, even if it supports the file_wrapper > optimisation[1], will never be able to see that we are returning a > file_wrapper, so the optimisation will never trigger, in the face of > what Bottle's documentation says.

Bug#584827: file_wrapper optimisation cannot possibly work

2010-06-06 Thread Enrico Zini
Package: python-bottle Version: 0.8.0-1 Severity: normal Hello, thanks again for maintaining bottle. In http://bottle.paws.de/docs/tutorial.html it says: File Objects and Streams Bottle passes everything that has a read() method (file objects) to the wsgi.file_wrapper provided by your