Lines Matching defs:header
190 /* If a proxy-authorization header was used for the proxy, then we should
289 const char *header)
295 if((checkprefix("WWW-Authenticate:", header) &&
297 (checkprefix("Proxy-authenticate:", header) &&
301 char *auth = Curl_copy_header_value(header);
305 CURL_TRC_CF(data, cf, "CONNECT: fwd auth header '%s'", header);
313 else if(checkprefix("Content-Length:", header)) {
316 header fields received in a successful response to CONNECT.
322 (void)curlx_strtoofft(header + strlen("Content-Length:"),
326 else if(Curl_compareheader(header,
329 else if(checkprefix("Transfer-Encoding:", header)) {
332 header fields received in a successful response to CONNECT.
337 else if(Curl_compareheader(header,
346 else if(Curl_compareheader(header,
350 else if(!strncmp(header, "HTTP/1.", 7) &&
351 ((header[7] == '0') || (header[7] == '1')) &&
352 (header[8] == ' ') &&
353 ISDIGIT(header[9]) && ISDIGIT(header[10]) && ISDIGIT(header[11]) &&
354 !ISDIGIT(header[12])) {
356 data->info.httpproxycode = k->httpcode = (header[9] - '0') * 100 +
357 (header[10] - '0') * 10 + (header[11] - '0');
454 /* if this is not the end of a header line then continue */
465 /* send the header to the callback */
555 /* If user is not overriding the Host header later */
691 /* Setup the proxy-authorization header, if any */
1007 data->req.header = TRUE; /* assume header */