diff options
author | Helmut Grohne <helmut@subdivi.de> | 2008-04-27 00:38:36 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2008-04-27 00:38:36 +0200 |
commit | 0e5d163f746d0ff77dd6f87f0347f25929fd2452 (patch) | |
tree | aeff8a01c09d622bfa565e92e5613852552a4e7e | |
parent | d9f8f1d19c08729b0589ffc9260b9323a7c87369 (diff) | |
download | wsgitools-0e5d163f746d0ff77dd6f87f0347f25929fd2452.tar.gz |
clarified usage of EncodeWSGIFilter
-rw-r--r-- | wsgitools/filters.py | 5 |
1 files changed, 4 insertions, 1 deletions
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. |