HTTP server from scratch
An HTTP server written in Python with no framework: GET, POST, files, concurrent connections, compression.
- Category
- Personal
- Context
- Personal project
- Date
- 2024
- Duration
- 1 month
- Team
- David MVOULA
Duration · out of 12 months
1 month
Description
An HTTP server written in Python, with no framework. It handles GET and POST requests, serves static files, accepts several connections at once and compresses responses. Written to understand what a framework does for me.
Stack
- Python
Notes
Features
- 1GET and POST requests
- 2Concurrent connections
- 3Response compression
- 4Static files
- 5Request logging
Challenges
- 1Implementing the HTTP protocol with no external library
- 2Handling concurrent connections