Skip to content

zjamali/webserv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webserv

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

Subject

Main points:

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.

Resources

Server setup

How to build a simple HTTP server

Simple server with C++

C++ Web Programming

HTTP 1.1 (standard to follow) :

HTTP/1.1 (RFC 2616)

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 : Caching (RFC 7234)

HTTP/1.1 : Authentication (RFC 7235)

Other HTTP (legacy / future) :

HTTP/1.0 (RFC 1945)

HTTP/2 (RFC 7240)

HTTP/2 : Header Compression (RFC 7241)

FTP (RFC 959)

Select and non-blocking

Select

Non-blocking I/O

CGI

CGI : Getting Started

CGI 1.1 Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published