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
.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
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
3 matches
Mail list logo