Lines Matching defs:resp
69 struct http_resp *resp;
110 Curl_http_resp_free(ts->resp);
714 if(!ctx->tunnel.resp)
718 stream_id, ctx->tunnel.resp->status);
720 if(ctx->tunnel.resp->status / 100 != 1) {
771 struct http_resp *resp;
779 result = Curl_http_resp_make(&resp, http_status, NULL);
782 resp->prev = ctx->tunnel.resp;
783 ctx->tunnel.resp = resp;
785 stream_id, ctx->tunnel.resp->status);
789 if(!ctx->tunnel.resp)
792 result = Curl_dynhds_add(&ctx->tunnel.resp->headers,
985 DEBUGASSERT(ts->resp);
986 if(ts->resp->status/100 == 2) {
987 infof(data, "CONNECT tunnel established, response %d", ts->resp->status);
992 if(ts->resp->status == 401) {
993 auth_reply = Curl_dynhds_cget(&ts->resp->headers, "WWW-Authenticate");
995 else if(ts->resp->status == 407) {
996 auth_reply = Curl_dynhds_cget(&ts->resp->headers, "Proxy-Authenticate");
1002 result = Curl_http_input_auth(data, ts->resp->status == 407,