minor fix in 'Static HTTP web server with SSL support'

- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
trimstray 2019-06-05 11:25:47 +02:00
parent ba85706022
commit 4925ff93dc

View File

@ -3286,7 +3286,6 @@ python -m SimpleHTTPServer 8000
from http.server import HTTPServer, BaseHTTPRequestHandler from http.server import HTTPServer, BaseHTTPRequestHandler
import ssl import ssl
httpd = HTTPServer(('localhost', 4443), BaseHTTPRequestHandler) httpd = HTTPServer(('localhost', 4443), BaseHTTPRequestHandler)
httpd.socket = ssl.wrap_socket (httpd.socket, httpd.socket = ssl.wrap_socket (httpd.socket,