2014-06-04 21:28:59 -04: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']
|
2014-03-10 01:18:05 -04:00
|
|
|
|
|
|
|
import sys
|
2014-06-04 21:28:59 -04:00
|
|
|
if sys.version_info < (3, 0):
|
|
|
|
from wsgiserver2 import *
|
2014-03-10 01:18:05 -04:00
|
|
|
else:
|
2014-06-04 21:28:59 -04:00
|
|
|
# Le sigh. Boo for backward-incompatible syntax.
|
|
|
|
exec('from .wsgiserver3 import *')
|