mirror of
https://github.com/trimstray/the-book-of-secret-knowledge
synced 2024-11-26 13:10:18 +00:00
minor fix in 'Static HTTP web server with SSL support'
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
parent
ba85706022
commit
4925ff93dc
1 changed files with 0 additions and 1 deletions
|
@ -3286,7 +3286,6 @@ python -m SimpleHTTPServer 8000
|
|||
from http.server import HTTPServer, BaseHTTPRequestHandler
|
||||
import ssl
|
||||
|
||||
|
||||
httpd = HTTPServer(('localhost', 4443), BaseHTTPRequestHandler)
|
||||
|
||||
httpd.socket = ssl.wrap_socket (httpd.socket,
|
||||
|
|
Loading…
Reference in a new issue