Commits

Dariusz Suchojad  committed c8d5991

Reverted to the previous version.

  • Participants
  • Parent commits 6ffc7db

Comments (0)

Files changed (1)

File examples/web/sslserver.py

 #!/usr/bin/env python
 
-# stdlib
-import ssl
-
-# Circuits
-from circuits import Debugger
 from circuits.web import Server, Controller
 
 class Root(Controller):
     def index(self):
         return "Hello World!"
 
-(Server(("localhost", 8443), ssl=True, certfile="server-cert.pem", keyfile="server-key.pem",
-        ca_certs="ca-chain.pem", cert_reqs=ssl.CERT_NONE) + Debugger() + Root()).run()
+(Server(8000, ssl=True, certfile="cert.pem") + Root()).run()