Wip chunked decoding

+ Need to test normal body parsing
+ path_is_valid() renamed eval_file_type()
+ replaced atoi with strtol/strtoul
This commit is contained in:
LuckyLaszlo
2022-08-12 05:50:00 +02:00
parent ab0bc2c4c0
commit 400efbe720
18 changed files with 185 additions and 82 deletions

15
test_chunk.txt Normal file
View File

@@ -0,0 +1,15 @@
https://en.wikipedia.org/wiki/Chunked_transfer_encoding#Example
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding
GET / HTTP/1.1
Host: localhost:4040
Accept: */*
Transfer-Encoding: chunked
7
Mozilla
9
Developer
7
Network
0