tinyhttp
tinyhttp copied to clipboard
Minimal HTTP processing library
Possible fix for #6
A header that does not have a value, but a carriage return directly after the colon will put the parser in state `http_roundtripper_error`. I guess that the webserver that returns...
When a `HEAD` command is sent, the process is not fully made. In http.c file, in `http_data`API, seems that after ``` --size; ++data; ``` the following code needs to be...
return 0 from `http_data(struct http_roundtripper*, const char*, int size, int*)` when `size` is 0?
Hi, Thanks for this project! Sometimes servers send responses without Content-Length and expect the client to consume input (for the body) until EOF. Basically renders `recv` to return `0` before...