42 project, Building our own web server in C++. A program capable of running an HTTP server, handling requests, and parsing configuration files.
Team : abdait-m / zjamali / iltafah
This server handler the following HTTP features:
- The basics of HTTP protocol (status line / request line, and a few headers).
- GET, POST and DELETE methods.
- HTTP response status codes (200, 404, 400 ....)
- Error pages for the appropriate status code.
- CGI.
- Cookies and session management.
How to build a simple HTTP server
HTTP/1.1 : Message Syntax and Routing (RFC 7230)
HTTP/1.1 : Semantics and Content (RFC 7231)
HTTP/1.1 : Conditional Requests (RFC 7232)
HTTP/1.1 : Range Requests (RFC 7233)
HTTP/1.1 : Authentication (RFC 7235)