Project coding a non-blocking HTTP server in C++ according to the RFC specifications 7230-7235. The primary function of a web server is to store, process and deliver web pages to clients. The server will listen on one or more ports for HTTP Request that at a minimum look like this:
GET / HTTP/1.1
Host: localhost
Needs cmake to compile. Run cmake . ; make
.
- Build a simple HTTP server from scratch
- Guide to network programming
- RFC 7230
- RFC 7231
- Intro to TCP/IP and Sockets
- Matching location blocks
- HTTP Headers
- GET
- HEAD
- POST
- PUT
- DELETE
- Accept-Charsets
- Accept-Language
- Allow
- Authorization
- Content-Language
- Content-Length
- Content-Location
- Content-Type
- Date
- Host
- Last-Modified
- Location
- Referer
- Retry-After
- Server
- Transfer-Encoding
- User-Agent
- WWW-Authenticate
- workers as processes
- plugins
- gzip
- deflate
- add in config
- load through terminal
- Make routes work with regexp
- Configure a proxy to an other http/https server