/curl/lib/ |
H A D | rtsp.c | 337 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 D | http.c | 2078 STRCONST("Transfer-Encoding:"), STRCONST("chunked")); in Curl_http_req_set_reader() 2131 Curl_compareheader(ptr, STRCONST("Expect:"), STRCONST("100-continue")); in addexpect() 2222 result = Curl_dyn_addn(r, STRCONST("\r\n")); in Curl_http_req_complete() 2439 if(!Curl_checkheaders(data, STRCONST("TE")) && in Curl_transferencode() 2814 Curl_compareheader(hd, STRCONST(n), STRCONST(v))) 4276 { STRCONST("Host") }, 4277 { STRCONST("Upgrade") }, 4278 { STRCONST("Connection") }, 4279 { STRCONST("Keep-Alive") }, 4280 { STRCONST("Proxy-Connection") }, [all …]
|
H A D | strcase.h | 46 #define checkprefix(a,b) curl_strnequal(b, STRCONST(a))
|
H A D | openldap.c | 1036 result = client_write(data, STRCONST("DN: "), bv.bv_val, bv.bv_len, in oldap_recv() 1037 STRCONST("\n")); in oldap_recv() 1050 result = client_write(data, STRCONST("\t"), bv.bv_val, bv.bv_len, in oldap_recv() 1051 STRCONST(":\n")); in oldap_recv() 1063 result = client_write(data, STRCONST("\t"), bv.bv_val, bv.bv_len, in oldap_recv() 1064 STRCONST(":")); in oldap_recv() 1093 STRCONST("\n")); in oldap_recv() 1097 result = client_write(data, STRCONST(" "), in oldap_recv() 1099 STRCONST("\n")); in oldap_recv() 1107 result = client_write(data, STRCONST("\n"), NULL, 0, NULL, 0); in oldap_recv() [all …]
|
H A D | cf-h1-proxy.c | 329 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 D | http_proxy.c | 121 !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 D | http_chunks.c | 260 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 D | mime.c | 323 for(result = Curl_dyn_addn(&db, STRCONST("")); !result && *src; src++) { in escape_string() 955 sz = readback_bytes(&part->state, buffer, bufsize, STRCONST("\r\n"), in readback_part() 956 STRCONST("")); in readback_part() 1022 STRCONST("")); in mime_subparts_read() 1029 MIME_BOUNDARY_LEN, STRCONST("\r\n")); in mime_subparts_read() 1032 MIME_BOUNDARY_LEN, STRCONST("--\r\n")); in mime_subparts_read() 1671 STRCONST("Content-Type")); in mime_size() 1786 customct = search_header(part->userheaders, STRCONST("Content-Type")); in Curl_mime_prepare_headers() 1815 content_type_match(contenttype, STRCONST("text/plain"))) in Curl_mime_prepare_headers() 1868 STRCONST("Content-Transfer-Encoding"))) { in Curl_mime_prepare_headers() [all …]
|
H A D | c-hyper.c | 168 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 D | cf-haproxy.c | 82 result = Curl_dyn_addn(&ctx->data_out, STRCONST("PROXY UNKNOWN\r\n")); in cf_haproxy_date_out_set()
|
H A D | http_aws_sigv4.c | 77 return Curl_checkheaders(data, STRCONST("Date")); in find_date_hdr() 188 if(!Curl_checkheaders(data, STRCONST("Host"))) { in make_headers() 610 if(Curl_checkheaders(data, STRCONST("Authorization"))) { in Curl_output_aws_sigv4()
|
H A D | http1.c | 340 result = Curl_dyn_addn(dbuf, STRCONST("\r\n")); in Curl_h1_req_write_head()
|
H A D | curl_setup.h | 914 #define STRCONST(x) x,sizeof(x)-1 macro
|
H A D | http2.c | 1144 h2_xfer_write_resp_hd(cf, data, stream, STRCONST("\r\n"), stream->closed); in on_stream_frame() 1617 result = Curl_dyn_addn(&ctx->scratch, STRCONST("HTTP/2 ")); in on_header() 1621 result = Curl_dyn_addn(&ctx->scratch, STRCONST(" \r\n")); in on_header() 1642 result = Curl_dyn_addn(&ctx->scratch, STRCONST(": ")); in on_header() 1646 result = Curl_dyn_addn(&ctx->scratch, STRCONST("\r\n")); in on_header()
|
H A D | ws.c | 731 if(!Curl_checkheaders(data, STRCONST(heads[i].name))) { in Curl_ws_request()
|
H A D | doh.c | 619 if(Curl_dyn_addn(c, STRCONST("."))) in doh_store_cname()
|
H A D | sendf.c | 1021 result = Curl_bufq_cwrite(&ctx->buf, STRCONST("\r\n"), &n); in cr_lc_read()
|
H A D | smtp.c | 706 if(!Curl_checkheaders(data, STRCONST("Mime-Version"))) in smtp_perform_mail()
|
H A D | imap.c | 787 if(!Curl_checkheaders(data, STRCONST("Mime-Version"))) in imap_perform_append()
|
/curl/lib/vquic/ |
H A D | curl_ngtcp2.c | 995 h3_xfer_write_resp_hd(cf, data, stream, STRCONST("\r\n"), stream->closed); in cb_h3_end_headers() 1036 result = Curl_dyn_addn(&ctx->scratch, STRCONST("HTTP/3 ")); in cb_h3_recv_header() 1041 result = Curl_dyn_addn(&ctx->scratch, STRCONST(" \r\n")); in cb_h3_recv_header() 1060 result = Curl_dyn_addn(&ctx->scratch, STRCONST(": ")); in cb_h3_recv_header() 1065 result = Curl_dyn_addn(&ctx->scratch, STRCONST("\r\n")); in cb_h3_recv_header()
|
/curl/src/ |
H A D | tool_setopt.c | 232 result = curlx_dyn_addn(&escaped, STRCONST("")); in c_escape()
|