MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / th_response_body

Function th_response_body

tests/test_httpd.c:1914–1917  ·  view source on GitHub ↗

Response body: everything after the header block, or "" when absent. */

Source from the content-addressed store, hash-verified

1912
1913/* Response body: everything after the header block, or "" when absent. */
1914static 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

Callers 1

test_httpd.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected