2012-08-12 04:57:25 +00:00
|
|
|
__all__ = ['HTTPRequest', 'HTTPConnection', 'HTTPServer',
|
|
|
|
'SizeCheckWrapper', 'KnownLengthRFile', 'ChunkedRFile',
|
|
|
|
'MaxSizeExceeded', 'NoSSLError', 'FatalSSLAlert',
|
|
|
|
'WorkerThread', 'ThreadPool', 'SSLAdapter',
|
|
|
|
'CherryPyWSGIServer',
|
|
|
|
'Gateway', 'WSGIGateway', 'WSGIGateway_10', 'WSGIGateway_u0',
|
|
|
|
'WSGIPathInfoDispatcher', 'get_ssl_adapter_class']
|
2011-09-11 04:29:39 +00:00
|
|
|
|
|
|
|
import sys
|
2012-08-12 04:57:25 +00:00
|
|
|
if sys.version_info < (3, 0):
|
|
|
|
from wsgiserver2 import *
|
2011-09-11 04:29:39 +00:00
|
|
|
else:
|
2012-08-12 04:57:25 +00:00
|
|
|
# Le sigh. Boo for backward-incompatible syntax.
|
|
|
|
exec('from .wsgiserver3 import *')
|