Package grassyknoll :: Package concurrent :: Module WhiskeyServer
[hide private]

Module WhiskeyServer

source code

a http://wsgi.org/wsgi wsgi server based on wsgiref and ThreadPool

Whoever wrote SocketServer (and its various spawn, including BaseHTTPServer & wsgiref) should be shot, and their corpse killed until it is dead. The author of the WSGI standard itself should then be buried alive with the aforementioned corpse. In the author's opinion, this would be a fate too kind for both of them.


Version: 0.3

Classes [hide private]
  WhiskeyRequestHandler
  WhiskeyServerHandler
  WhiskeyServer
a threadpool-based wsgi server.
Variables [hide private]
  default_too_busy_content = ...
Variables Details [hide private]

default_too_busy_content

Value:
"""
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w\
3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title>Service Unavailable</title>
</head>
...