[Web-SIG] Request for Comments on upcoming WSGI Changes
brian at briansmith.org
Mon Sep 21 17:56:08 CEST 2009
P.J. Eby wrote:
> Since WSGI is based on HTTP, please cite RFCs, not applications.
RFC 3987 (the IRI specification) is the closest thing we have to an
interoperable specification for internationalized URLs. It uses Unicode
My own opinion is that WSGI for Python 3 (what people have been calling
"WSGI 2" or "WSGI 3" in these threads) only needs to be defined for URLs
that meet the requirements of RFC 3987. If you need non-UTF8 URLs then don't
use WSGI on Python 3.
RE WSGI 1.0 vs 1.1 vs 2.0 vs. 3.0: That would make WSGI very confusing. Fix
the inconsistent/underspecified parts of WSGI 1.0 in an updated version of
PEP 333. That would be the only WSGI specification for Python 2.0. Whatever
"WSGI 3.0" would become should be the only WSGI specification for Python 3.
Punt on the idea of running WSGI 1.0 applications on Python 3 or WSGI 3.0
applications on Python 2.x.
More information about the Web-SIG