[Web-SIG] gunicorn 0.1 - new WSGI HTTP Server

2010-01-03 Thread Benoit Chesneau
Hi, Quick mail to announce the gunicorn 'Green Unicorn' 0.1. it is a WSGI HTTP Server for UNIX, fast clients and nothing else. This is a port of Unicorn (http://unicorn.bogomips.org/) in Python. You can find it here : http://pypi.python.org/pypi/gunicorn/0.1 Current features are limited to the

[Web-SIG] wsgi write=start_response() and iterable return?

2010-01-03 Thread Aaron Watters
> S4. An I/O error (such as Connection reset by peer or > Broken pipe) > occurs when writing to the write() callable returned by > start_response(). Interesting. I had totally missed the write() callable return value required by start_response. If an application returns an iterable response and

[Web-SIG] WSGI (PEP 333) error handling questions

2010-01-03 Thread Péter Szabó
Hi, After reading http://www.python.org/dev/peps/pep-0333/ it is not clear to me what a WSGI server should do in case of some error situations: S1. An I/O error (such as Connection reset by peer) occurs when reading environ['wsgi.input']. S2. An I/O error occurs when writing environ['wsgi.error'