From 0e5d163f746d0ff77dd6f87f0347f25929fd2452 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Sun, 27 Apr 2008 00:38:36 +0200 Subject: clarified usage of EncodeWSGIFilter --- wsgitools/filters.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wsgitools/filters.py b/wsgitools/filters.py index 32a0a46..90e7dec 100644 --- a/wsgitools/filters.py +++ b/wsgitools/filters.py @@ -283,7 +283,10 @@ class TimerWSGIFilter(BaseWSGIFilter): __all__.append("EncodeWSGIFilter") class EncodeWSGIFilter(BaseWSGIFilter): - """Encodes all body data (no headers) with given charset.""" + """Encodes all body data (no headers) with given charset. + @note: This violates the wsgi standard as it requires unicode objects + whereas wsgi mandates the use of str. + """ @classmethod def creator(cls, charset): """Returns a function creating EncodeWSGIFilters with a given charset. -- cgit v1.2.3