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 added: ``` if (!size) { // Case of HEAD (no body content) *read = 0; return 0; } ```