[Web-SIG] wsgiref questions

Sylvain Hellegouarch sh at defuze.org
Wed Dec 20 21:51:34 CET 2006


>> Well, we're using wsgiref's simple_server which only speaks HTTP/1.0,
>> but we really need to speak HTTP/1.1 and use chunked. Where do you
>> recommend we put the chunking instead?

<shameless-plug>
If you are not to fuss about which WSGI server you can afford to use,
you could grab the server from CherryPy 3.0 which is HTTP/1.1 fluent.

from cherrypy import wsgiref [1]

You'd be done.
</shameless-plug>

- Sylvain

[1] http://www.cherrypy.org/browser/trunk/cherrypy/wsgiserver.py



More information about the Web-SIG mailing list