Home
last modified time | relevance | path

Searched refs:STRCONST (Results 1 – 21 of 21) sorted by relevance

/curl/lib/
H A Drtsp.c337 p_transport = Curl_checkheaders(data, STRCONST("Transport")); in rtsp_do()
362 p_accept = Curl_checkheaders(data, STRCONST("Accept")) ? in rtsp_do()
366 if(!Curl_checkheaders(data, STRCONST("Accept-Encoding")) && in rtsp_do()
384 if(Curl_checkheaders(data, STRCONST("User-Agent")) && in rtsp_do()
388 else if(!Curl_checkheaders(data, STRCONST("User-Agent")) && in rtsp_do()
431 if(Curl_checkheaders(data, STRCONST("CSeq"))) { in rtsp_do()
436 if(Curl_checkheaders(data, STRCONST("Session"))) { in rtsp_do()
534 if(!Curl_checkheaders(data, STRCONST("Content-Length"))) { in rtsp_do()
546 STRCONST("Content-Type: " in rtsp_do()
556 STRCONST("Content-Type: " in rtsp_do()
[all …]
H A Dhttp.c2081 STRCONST("Transfer-Encoding:"), STRCONST("chunked")); in Curl_http_req_set_reader()
2134 Curl_compareheader(ptr, STRCONST("Expect:"), STRCONST("100-continue")); in addexpect()
2225 result = Curl_dyn_addn(r, STRCONST("\r\n")); in Curl_http_req_complete()
2440 if(!Curl_checkheaders(data, STRCONST("TE")) && in Curl_transferencode()
2815 Curl_compareheader(hd, STRCONST(n), STRCONST(v)))
4278 { STRCONST("Host") },
4279 { STRCONST("Upgrade") },
4280 { STRCONST("Connection") },
4281 { STRCONST("Keep-Alive") },
4282 { STRCONST("Proxy-Connection") },
[all …]
H A Dstrcase.h46 #define checkprefix(a,b) curl_strnequal(b, STRCONST(a))
H A Dopenldap.c1051 result = client_write(data, STRCONST("DN: "), bv.bv_val, bv.bv_len, in oldap_recv()
1052 STRCONST("\n")); in oldap_recv()
1065 result = client_write(data, STRCONST("\t"), bv.bv_val, bv.bv_len, in oldap_recv()
1066 STRCONST(":\n")); in oldap_recv()
1078 result = client_write(data, STRCONST("\t"), bv.bv_val, bv.bv_len, in oldap_recv()
1079 STRCONST(":")); in oldap_recv()
1108 STRCONST("\n")); in oldap_recv()
1112 result = client_write(data, STRCONST(" "), in oldap_recv()
1114 STRCONST("\n")); in oldap_recv()
1122 result = client_write(data, STRCONST("\n"), NULL, 0, NULL, 0); in oldap_recv()
[all …]
H A Dcf-h1-proxy.c329 STRCONST("Connection:"), STRCONST("close"))) in on_resp_header()
340 STRCONST("Transfer-Encoding:"), in on_resp_header()
341 STRCONST("chunked"))) { in on_resp_header()
349 STRCONST("Proxy-Connection:"), in on_resp_header()
350 STRCONST("close"))) in on_resp_header()
556 if(!Curl_checkProxyheaders(data, cf->conn, STRCONST("Host"))) { in CONNECT_host()
729 if(!Curl_checkProxyheaders(data, conn, STRCONST("User-Agent")) && in start_CONNECT()
743 if(!Curl_checkProxyheaders(data, conn, STRCONST("Proxy-Connection"))) { in start_CONNECT()
H A Dhttp_proxy.c121 !Curl_checkProxyheaders(data, cf->conn, STRCONST("Host"))) { in Curl_http_proxy_create_CONNECT()
134 if(!Curl_checkProxyheaders(data, cf->conn, STRCONST("User-Agent")) && in Curl_http_proxy_create_CONNECT()
143 !Curl_checkProxyheaders(data, cf->conn, STRCONST("Proxy-Connection"))) { in Curl_http_proxy_create_CONNECT()
H A Dhttp_chunks.c260 result = Curl_dyn_addn(&ch->trailer, (char *)STRCONST("\x0d\x0a")); in httpchunk_readwrite()
512 return Curl_bufq_cwrite(&ctx->chunkbuf, STRCONST("0\r\n\r\n"), &n); in add_last_chunk()
515 result = Curl_bufq_cwrite(&ctx->chunkbuf, STRCONST("0\r\n"), &n); in add_last_chunk()
540 result = Curl_bufq_cwrite(&ctx->chunkbuf, STRCONST("\r\n"), &n); in add_last_chunk()
545 result = Curl_bufq_cwrite(&ctx->chunkbuf, STRCONST("\r\n"), &n); in add_last_chunk()
H A Dmime.c321 for(result = Curl_dyn_addn(&db, STRCONST("")); !result && *src; src++) { in escape_string()
953 sz = readback_bytes(&part->state, buffer, bufsize, STRCONST("\r\n"), in readback_part()
954 STRCONST("")); in readback_part()
1020 STRCONST("")); in mime_subparts_read()
1027 MIME_BOUNDARY_LEN, STRCONST("\r\n")); in mime_subparts_read()
1030 MIME_BOUNDARY_LEN, STRCONST("--\r\n")); in mime_subparts_read()
1669 STRCONST("Content-Type")); in mime_size()
1784 customct = search_header(part->userheaders, STRCONST("Content-Type")); in Curl_mime_prepare_headers()
1813 content_type_match(contenttype, STRCONST("text/plain"))) in Curl_mime_prepare_headers()
1866 STRCONST("Content-Transfer-Encoding"))) { in Curl_mime_prepare_headers()
[all …]
H A Dc-hyper.c168 if(Curl_dyn_addn(&data->state.headerb, STRCONST("\r\n"))) in hyper_each_header()
1038 STRCONST("Accept")) ? NULL : "Accept: */*\r\n"; in Curl_http()
1051 if(conn->bits.altused && !Curl_checkheaders(data, STRCONST("Alt-Used"))) { in Curl_http()
1067 !Curl_checkheaders(data, STRCONST("Proxy-Connection")) && in Curl_http()
1068 !Curl_checkProxyheaders(data, conn, STRCONST("Proxy-Connection"))) { in Curl_http()
1076 if(data->state.referer && !Curl_checkheaders(data, STRCONST("Referer"))) { in Curl_http()
1096 if(!Curl_checkheaders(data, STRCONST("Accept-Encoding")) && in Curl_http()
H A Dcf-haproxy.c82 result = Curl_dyn_addn(&ctx->data_out, STRCONST("PROXY UNKNOWN\r\n")); in cf_haproxy_date_out_set()
H A Dhttp_aws_sigv4.c77 return Curl_checkheaders(data, STRCONST("Date")); in find_date_hdr()
192 if(!Curl_checkheaders(data, STRCONST("Host"))) { in make_headers()
623 if(Curl_checkheaders(data, STRCONST("Authorization"))) { in Curl_output_aws_sigv4()
H A Dhttp1.c340 result = Curl_dyn_addn(dbuf, STRCONST("\r\n")); in Curl_h1_req_write_head()
H A Dcurl_setup.h906 #define STRCONST(x) x,sizeof(x)-1 macro
H A Dhttp2.c1142 h2_xfer_write_resp_hd(cf, data, stream, STRCONST("\r\n"), stream->closed); in on_stream_frame()
1599 result = Curl_dyn_addn(&ctx->scratch, STRCONST("HTTP/2 ")); in on_header()
1603 result = Curl_dyn_addn(&ctx->scratch, STRCONST(" \r\n")); in on_header()
1624 result = Curl_dyn_addn(&ctx->scratch, STRCONST(": ")); in on_header()
1628 result = Curl_dyn_addn(&ctx->scratch, STRCONST("\r\n")); in on_header()
H A Dsendf.c1021 result = Curl_bufq_cwrite(&ctx->buf, STRCONST("\r\n"), &n); in cr_lc_read()
H A Ddoh.c619 if(Curl_dyn_addn(c, STRCONST("."))) in doh_store_cname()
H A Dws.c731 if(!Curl_checkheaders(data, STRCONST(heads[i].name))) { in Curl_ws_request()
H A Dsmtp.c706 if(!Curl_checkheaders(data, STRCONST("Mime-Version"))) in smtp_perform_mail()
H A Dimap.c787 if(!Curl_checkheaders(data, STRCONST("Mime-Version"))) in imap_perform_append()
/curl/lib/vquic/
H A Dcurl_ngtcp2.c996 h3_xfer_write_resp_hd(cf, data, stream, STRCONST("\r\n"), stream->closed); in cb_h3_end_headers()
1037 result = Curl_dyn_addn(&ctx->scratch, STRCONST("HTTP/3 ")); in cb_h3_recv_header()
1042 result = Curl_dyn_addn(&ctx->scratch, STRCONST(" \r\n")); in cb_h3_recv_header()
1061 result = Curl_dyn_addn(&ctx->scratch, STRCONST(": ")); in cb_h3_recv_header()
1066 result = Curl_dyn_addn(&ctx->scratch, STRCONST("\r\n")); in cb_h3_recv_header()
/curl/src/
H A Dtool_setopt.c232 result = curlx_dyn_addn(&escaped, STRCONST("")); in c_escape()

Completed in 91 milliseconds