A simple HTTP 1.1 server built from scratch to understand the fundamentals of the HTTP protocol.
This project implements a basic HTTP 1.1 server that:
- Handles HTTP requests and responses manually
- Parses HTTP headers and request methods
- Multi threaded client connections
- Serves static content from 'www' directory
git clone https://github.com/msh31/http-server.git
cd http-server
mkdir build
cd build
cmake ..
cmake --build .
../http-server.exe
OR
.././http-serverThe server will load any files in the www/* directory, given they are HTML/CSS/JS and or PNG/JPEGS
This implementation follows the tutorial by The Medium (loosely)