[Web-SIG] Python 3.0 and WSGI 1.0.

Alan Kennedy alan at xhaus.com
Thu Apr 2 00:53:16 CEST 2009


Hi Graham,

I think yours is a good solution to the problem.

[Graham]
> In other words, leave all the existing CGI variables to come through
> as latin-1 decode

As latin-1 or rfc-2047 decoded, to unicode.

> and do anything new in 'wsgi' variable namespace,

So the server provides

"wsgi.server_decoded_SCRIPT_NAME" == u"whatever"
"wsgi.server_decoded_PATH_INFO" == u"whatever"
"wsgi.server_decode_charset" == u"utf-8"

Just my €0,02.

Alan.


More information about the Web-SIG mailing list