u413-284-si / webserv

This project is about setting up a http web server, providing a static website.
MIT License
0 stars 0 forks source link

11 req parsing handle chunked encoding #15

Closed u413-284-si closed 2 months ago

u413-284-si commented 3 months ago

Introduces ability to parse chunked bodies:

Chunked body:

Non-chunked body:

Generally fix interpretation of header fields "Transfer-Encoding" and "Content-Length" according to RFC 7230 and RFC 9112.

Add tests for body parsing.

TLDR: Enhance HTTP request parser with ability to read chunked and non-chunked bodies.

close #11