Lines Matching defs:body
278 char *body, *index, *host, *port, *path;
303 // Header ranges toybuf[0...body) header length strlen(toybuf)
304 // Remnant Body toybuf[body...index) valid remnant body length is len
309 body = memmem(toybuf, index - toybuf, "\r\n\r\n", 4);
310 if (!body) error_exit("response header too large");
311 body[0] = '\0'; // NUL terminate the headers
312 body += 4; // Skip to the head of body
313 len = index - body; // Adjust len to be body length
339 memmove(toybuf, body - 2, len);
341 memmove(toybuf, body, len);