Lines Matching defs:headp
3440 char *headp)
3446 !data->set.ignorecl && checkprefix("Content-Length:", headp)) {
3448 CURLofft offt = curlx_strtoofft(headp + strlen("Content-Length:"),
3471 else if(checkprefix("Content-Type:", headp)) {
3472 char *contenttype = Curl_copy_header_value(headp);
3486 Curl_compareheader(headp,
3500 Curl_compareheader(headp,
3512 Curl_compareheader(headp,
3524 else if(Curl_compareheader(headp,
3534 else if(!k->http_bodyless && checkprefix("Transfer-Encoding:", headp)) {
3547 headp + strlen("Transfer-Encoding:"),
3558 else if(!k->http_bodyless && checkprefix("Content-Encoding:", headp) &&
3568 headp + strlen("Content-Encoding:"),
3573 else if(checkprefix("Retry-After:", headp)) {
3577 (void)curlx_strtoofft(headp + strlen("Retry-After:"),
3580 time_t date = Curl_getdate_capped(headp + strlen("Retry-After:"));
3587 else if(!k->http_bodyless && checkprefix("Content-Range:", headp)) {
3599 char *ptr = headp + strlen("Content-Range:");
3618 checkprefix("Set-Cookie:", headp)) {
3632 headp + strlen("Set-Cookie:"), host,
3637 else if(!k->http_bodyless && checkprefix("Last-Modified:", headp) &&
3639 k->timeofdoc = Curl_getdate_capped(headp + strlen("Last-Modified:"));
3643 else if((checkprefix("WWW-Authenticate:", headp) &&
3645 (checkprefix("Proxy-authenticate:", headp) &&
3649 char *auth = Curl_copy_header_value(headp);
3661 else if(checkprefix("Persistent-Auth:", headp)) {
3665 char *persistentauth = Curl_copy_header_value(headp);
3678 checkprefix("Location:", headp) &&
3681 char *location = Curl_copy_header_value(headp);
3710 else if(data->hsts && checkprefix("Strict-Transport-Security:", headp) &&
3721 headp + strlen("Strict-Transport-Security:"));
3733 else if(data->asi && checkprefix("Alt-Svc:", headp) &&
3746 headp + strlen("Alt-Svc:"),
3754 result = Curl_rtsp_parseheader(data, headp);
3929 char *headp;
4006 headp = Curl_dyn_ptr(&data->state.headerb);
4007 if((0x0a == *headp) || (0x0d == *headp)) {
4012 if('\r' == *headp)
4013 headp++; /* pass the \r byte */
4014 if('\n' == *headp)
4015 headp++; /* pass the \n byte */
4330 char *p = headp;
4425 char *p = headp;
4468 result = Curl_http_header(data, conn, headp);
4478 Curl_debug(data, CURLINFO_HEADER_IN, headp,
4481 result = Curl_client_write(data, writetype, headp,