Home | Trees | Index | Help |
|
---|
Package glass :: Module HTTPServer |
|
This is a replacement for BaseHTTPServer.HTTPServer.
Classes | |
---|---|
_HTTPServer |
This is a replacement for BaseHTTPServer.HTTPServer. |
Function Summary | |
---|---|
HACK: This is a wrapper around _HTTPServer to make it coro safe. | |
Test the HTTP request handler class. |
Function Details |
---|
HTTPServer(*args, **kargs)HACK: This is a wrapper around _HTTPServer to make it coro safe. Existing code does not know that __init__ has been broken into __init__ and __call__. Hence, this wrapper abstracts that detail. |
test(ServerClass=<function HTTPServer at 0xb7c68e2c>, RequestHandlerClass=None, server_ctx=None, servertype=None, protocol='HTTP/1.0')Test the HTTP request handler class. This runs an HTTP server on port 8000 (or the first command line argument). This code is a modified version of BaseHTTPServer.test. I had to modify it due to extra parameters passed to the ServerClass. Each of the above arguments has a reasonable default. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Jan 1 16:36:34 2007 | http://epydoc.sf.net |