<!--/*SC*/DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"/*EC*/-->
<html><head><title></title><style type="text/css"><!--body{padding:1ex;margin:0px;font-family:sans-serif;font-size:small;}a[href]{color:-moz-hyperlinktext !important;text-decoration:-moz-anchor-decoration;}blockquote{margin:0;border-left:2px solid #144fae;padding-left:1em;}blockquote blockquote{border-color:#006312;}blockquote blockquote blockquote{border-color:#540000;}--></style></head><body><div style="font-family: Arial; font-size: medium;" dir="ltr"><div>I'm looking for a small, simple, fast, Python based web server for a simple, client side application we're building. We don't want to distrubute and support a "real" web server like Apache or Tomcat or depend on the presence of local web server such as IIS. The application in question will service AJAX requests from a browser.</div>
<div> </div>
<div>We're not looking for a web framework like Django, Plone, etc.</div>
<div> </div>
<div>I've looked at the web servers that come bundled with the Python standard library[1] and they are too slow. I suspect this is because they don't maintain a session between the client and server, thus every GET/POST request repeats the session setup and break down process. Or they might be based on a polling model?</div>
<div> </div>
<div>Here are the other Python based web server implementations I'm aware of:</div>
<div>- cherrypy</div>
<div>- web.py</div>
<div>- twisted</div>
<div> </div>
<div>Any recommendations appreciated (Python 2.6 preferred but open to Python 3.1 options).</div>
<div> </div>
<div>Thanks!</div>
<div>Malcolm</div>
<div> </div>
<div>[1]</div>
<div>http://docs.python.org/library/basehttpserver.html (base)<br>
http://docs.python.org/library/simplehttpserver.html<br>
http://docs.python.org/library/cgihttpserver.html<br>
 </div></div></body></html>