New submission from Bjarke Walling <[EMAIL PROTECTED]>: To reproduce the error start Python 3.0 and enter the usual WSGI "hello world" application:
>>> from wsgiref.simple_server import make_server, demo_app >>> httpd = make_server('', 8000, demo_app) >>> httpd.serve_forever() Open a browser and point it at http://location:8000/. On each HTTP request an exception will be thrown: ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 55779) Traceback (most recent call last): File "/usr/local/lib/python3.0/socketserver.py", line 281, in _handle_request_noblock self.process_request(request, client_address) File "/usr/local/lib/python3.0/socketserver.py", line 307, in process_request self.finish_request(request, client_address) File "/usr/local/lib/python3.0/socketserver.py", line 320, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.0/socketserver.py", line 614, in __init__ self.handle() File "/usr/local/lib/python3.0/wsgiref/simple_server.py", line 136, in handle self.rfile, self.wfile, self.get_stderr(), self.get_environ() File "/usr/local/lib/python3.0/wsgiref/simple_server.py", line 115, in get_environ k,v = h.split(':',1) ValueError: need more than 1 value to unpack ---------------------------------------- Expected result: The nice demo page containing WSGI environment variables is displayed in the browser. ---------- components: Library (Lib) messages: 72684 nosy: Walling severity: normal status: open title: wsgiref.simple_server fails to run demo_app versions: Python 3.0 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3795> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com