Home | History | Annotate | Download | only in wps

Lines Matching refs:body

87 	int content_length;     /* body length,  iff got_content_length */
91 int got_body; /* nonzero when body is finalized */
92 char *body;
100 int chunk_start; /* offset in body of chunk hdr or data */
171 os_free(h->body);
352 /* For some types, we should not try to read a body
354 * that we should not read a body.
358 /* Some codes can have a body and some not.
368 * that GETs have a body length of 0... ?
407 char *bbp; /* pointer into body buffer */
485 "httpread no body hdr end(%p)", h);
507 "httpread NO BODY for sp. type");
520 /* Here to get (more of) body */
521 /* ensure we have enough room for worst case for body
539 if ((new_body = os_realloc(h->body, new_alloc_nbytes))
543 h->body = new_body;
547 bbp = h->body + h->body_nbytes;
553 char *cbp = h->body + h->chunk_start;
638 } /* body copy loop */
647 bbp = h->body + h->body_nbytes;
705 if (h->body)
706 h->body[h->body_nbytes] = 0; /* null terminate */
735 * Pass max_bytes == 0 to not read body at all (required for e.g.
743 int max_bytes, /* maximum body size else abort it */
819 return h->body ? h->body : "";