Bug#584827: [bottlepy] WSGI file_wrapper optimisation cannot possibly work

2010-06-19 Thread Marcel Hellkamp
s. See b294b57793b716346c18aaed9effaf465d1c22fd or the attached patch. -- Mit freundlichen Grüßen Marcel Hellkamp >From b294b57793b716346c18aaed9effaf465d1c22fd Mon Sep 17 00:00:00 2001 From: Marcel Hellkamp Date: Sat, 19 Jun 2010 14:41:20 +0200 Subject: [PATCH] fix: A fallback for 'wsgi.file_wrapper' MUST have a

Bug#584827: [bottlepy] WSGI file_wrapper optimisation cannot possibly work

2010-06-18 Thread Marcel Hellkamp
.environ.get('wsgi.file_wrapper', None) > if wrapper: out = wrapper(out) > return out The 'wsgi.file_wrapper' is optional and we must return an iterable. Some file-like objects may not be iterable. A working fallback won't hurt :) -- Mit freund

Bug#584781: [bottlepy] passing quite=True to run() fails with most servers

2010-06-18 Thread Marcel Hellkamp
is a fast way to get the application up and running, but not much more. For any non-trivial deployment scenarios I'd use the WSGI api directly and configure the server myself. We could improve the documentation on this one, though. -- Mit freundlichen Grüßen Marcel Hellkamp >From be9565f