from piglatin import piglatin
+ class LatinIter:
"""Transform iterated output to piglatin, if it's okay to do so
+ class Latinator:
# by default, don't transform output
-* Changed the signature of ``environ['wsgi.input'].readline(hint)`` to
- allow the ``hint`` argument.
-* Removed Python 2.2 compatibility mentionings in the PEP because these
- versions are no longer in use.
-These items are currently being discussed on the Web-SIG and elsewhere,
-or are on the PEP author's "to-do" list:
-* Should ``wsgi.input`` be an iterator instead of a file? This would
- help for asynchronous applications and chunked-encoding input
-* Optional extensions are being discussed for pausing iteration of an
- application's ouptut until input is available or until a callback
-* Add a section about synchronous vs. asynchronous apps and servers,
- the relevant threading models, and issues/design goals in these
* Mark Nottingham, who reviewed the spec extensively for issues with
HTTP RFC compliance, especially with regard to HTTP/1.1 features that
I didn't even know existed until he pointed them out.
+* Changed the signature of ``environ['wsgi.input'].readline(hint)`` to
+ allow the ``hint`` argument.
+* Removed Python 2.2 compatibility mentionings in the PEP because these
+ versions are no longer in use.
+* Removed Jython compatiblity notices because Jython now provides a
+* mentioned that WSGI 1.0 does not support Python 3
+* clarfified that WSGI 1.0 depends on bytes
+* weakened the rules for buffering and streaming
+* added warning for middleware implementers about `wsgi.file_wrapper`.
+* Removed references to oudated discussions.