This implements a simple HTTP and HTTPS server pair that serve a static HTML file. The HTTP server uses adafruit_httpserver in a straightforward, basic way. The HTTPS server works by wrapping a socket pool object in an object that wraps all sockets in SSLSockets. There are throwaway, self-signed certificates for testing under src/certificates. However, HTTPS is very slow. Probably need an optimized AES implementation.
5 lines
41 B
Text
5 lines
41 B
Text
# macOS
|
|
.DS_Store
|
|
|
|
# Python
|
|
__pycache__/
|