Re: [Web-SIG] CGI WSGI and Unicode

2009-12-07 Thread Aaron Watters
--- On Mon, 12/7/09, Graham Dumpleton wrote: > For the record, CGI/WSGI adapters should also protect the > original > stdin/stdout so WSGI application doesn't cause problems by > using > 'print' or do other odd stuff with input. I haven't seen a > single > CGI/WSGI adapter which does it in a wa

Re: [Web-SIG] CGI WSGI and Unicode

2009-12-07 Thread Graham Dumpleton
2009/12/7 Manlio Perillo : > Graham Dumpleton ha scritto: > > Note: I'm sending the entire message to the mailing list. > >> 2009/12/7 Manlio Perillo : >>> Hi. >>> >>> I'm playing with Python 3.x, current revision. >>> >>> I have noted that the data in the os.environ are noe Unicode strings. >>> >>

Re: [Web-SIG] Move to bless Graham's WSGI 1.1 as official spec

2009-12-07 Thread Malthe Borch
On 12/4/09 12:50 AM, And Clover wrote: So for now there is basically nothing useful WSGI can do other than provide direct, byte-oriented (even if wrapped in 8859-1 unicode strings) access to headers. You could argue that this is perhaps a good reason to replace ``environ`` with something that

Re: [Web-SIG] CGI WSGI and Unicode

2009-12-07 Thread Manlio Perillo
Graham Dumpleton ha scritto: Note: I'm sending the entire message to the mailing list. > 2009/12/7 Manlio Perillo : >> Hi. >> >> I'm playing with Python 3.x, current revision. >> >> I have noted that the data in the os.environ are noe Unicode strings. >> >> In a CGI application, HTTP headers are