Back to index

python3.2  3.2.2
Classes | Namespaces | Functions | Variables
ssl_servers.py File Reference

Go to the source code of this file.

Classes

class  test.ssl_servers.HTTPSServer
class  test.ssl_servers.RootedHTTPRequestHandler
class  test.ssl_servers.StatsRequestHandler
class  test.ssl_servers.HTTPSServerThread

Namespaces

namespace  test.ssl_servers

Functions

def test.ssl_servers.make_https_server

Variables

tuple test.ssl_servers.threading = support.import_module("threading")
tuple test.ssl_servers.here = os.path.dirname(__file__)
 test.ssl_servers.HOST = support.HOST
tuple test.ssl_servers.CERTFILE = os.path.join(here, 'keycert.pem')
tuple test.ssl_servers.parser
string test.ssl_servers.help = 'port to listen on (default: %(default)s)'
string test.ssl_servers.action = 'store_false'
tuple test.ssl_servers.args = parser.parse_args()
 test.ssl_servers.handler_class = StatsRequestHandler
tuple test.ssl_servers.context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
tuple test.ssl_servers.server = HTTPSServer(("", args.port), handler_class, context)