A minimal HTTP server implementation in Python with no dependencies. This is an educational project, not suitable for production use.
- Basic HTTP/1.1 compliance
- Static file serving
- MIME type detection
- Error handling (404, 500, 501)
- Place files in your web root directory
- Run server:
python server.py
- Access
http://127.0.0.1:8888
in your browser
- Add support for POST, PUT, DELETE methods
- Add concurrent request handling
- Add CONFIG support (port binding, root directory)
- Add CLI arguments support
- Add logging system
- Implement request body parsing
- Implement basic caching
- Implement persistent connections (Keep-Alive)
- Support chunked transfers for large files