It provides minimal HTTP server to serve simple HTML pages
- Content Cahing
- Gzip compression
- No dependencies!
- Native TLS encryption #TODO
- Diretory listing #TODO
- Byte-serving for large files #TODO
It serves HTML pages.
At least one .hmtl
file should be in the current directory.
If no specified filename is given in URL then it will serve index.html
.
Start the server in specified port.
python main.py 8888
Start the server in default port 5000
python main.py
This server is for serving static files only. Not for production use cases