Deleted https-server.py
This commit is contained in:
@@ -1,11 +0,0 @@
|
|||||||
from http.server import HTTPServer, BaseHTTPRequestHandler
|
|
||||||
import ssl
|
|
||||||
|
|
||||||
|
|
||||||
httpd = HTTPServer(('localhost', 4443), BaseHTTPRequestHandler)
|
|
||||||
|
|
||||||
httpd.socket = ssl.wrap_socket (httpd.socket,
|
|
||||||
keyfile="key.pem",
|
|
||||||
certfile='cert.pem', server_side=True)
|
|
||||||
|
|
||||||
httpd.serve_forever()
|
|
||||||
Reference in New Issue
Block a user