Skip to content

Files

Latest commit

 

History

History
50 lines (39 loc) · 2.15 KB

README.md

File metadata and controls

50 lines (39 loc) · 2.15 KB

Webserv

HTTP server in C++ 98

Installation instructions
Technical Documentation
Subject

HTTP overview

  • Implemented methods:

    • GET: Fetch an URI.
    • POST: Send form data to a URI and get a response back.
    • DELETE: Requests that the target resource delete its state.
  • HTTP Version:

    • HTTP/1.1
  • HTTP Error Max Values:

Error Max Value Method Change Value in:
Request Timeout 2 all implemented webserv.hpp
Content Too Large 1GB per chunk POST config file or Request.class.cpp
URI Too Long 255 bytes all implemented Request.class.cpp
Request Header Fields Too Large 9000 bytes all implemented Request.class.cpp
Unsupported Media Type multipart/form POST Not implemented

Main system calls

OS Compatibility

  • macOS
  • Linux

Relevant RFCs

RFC 7230, RFC 7231, RFC 7232, RFC 7233, RFC 7234, RFC 7235

image