Response body: everything after the header block, or "" when absent. */
| 1912 | |
| 1913 | /* Response body: everything after the header block, or "" when absent. */ |
| 1914 | static const char *th_response_body(const char *response) { |
| 1915 | const char *body = strstr(response, "\r\n\r\n"); |
| 1916 | return body ? body + 4 : ""; |
| 1917 | } |
| 1918 | |
| 1919 | /* Boot a server with the recording executor, POST one /api/index request, |
| 1920 | * wait for the worker only when the route accepted the job, read |