Home
last modified time | relevance | path

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

/third_party/curl/lib/
Dhttp.c798 !Curl_checkProxyheaders(data, conn, STRCONST("Proxy-authorization"))) || in output_auth_headers()
801 !Curl_checkheaders(data, STRCONST("Authorization")))) { in output_auth_headers()
817 !Curl_checkheaders(data, STRCONST("Authorization")))) { in output_auth_headers()
1688 const char *ptr = Curl_checkheaders(data, STRCONST("Expect")); in expect100()
1691 Curl_compareheader(ptr, STRCONST("Expect:"), STRCONST("100-continue")); in expect100()
1694 result = Curl_dyn_addn(req, STRCONST("Expect: 100-continue\r\n")); in expect100()
1862 hd_name_eq(name, namelen, STRCONST("Host:"))) in Curl_dynhds_add_custom()
1866 hd_name_eq(name, namelen, STRCONST("Content-Type:"))) in Curl_dynhds_add_custom()
1870 hd_name_eq(name, namelen, STRCONST("Content-Type:"))) in Curl_dynhds_add_custom()
1875 hd_name_eq(name, namelen, STRCONST("Content-Length:"))) in Curl_dynhds_add_custom()
[all …]
Drtsp.c331 p_transport = Curl_checkheaders(data, STRCONST("Transport")); in rtsp_do()
355 p_accept = Curl_checkheaders(data, STRCONST("Accept"))? in rtsp_do()
359 if(!Curl_checkheaders(data, STRCONST("Accept-Encoding")) && in rtsp_do()
376 if(Curl_checkheaders(data, STRCONST("User-Agent")) && in rtsp_do()
380 else if(!Curl_checkheaders(data, STRCONST("User-Agent")) && in rtsp_do()
396 if(data->state.referer && !Curl_checkheaders(data, STRCONST("Referer"))) in rtsp_do()
411 if(!Curl_checkheaders(data, STRCONST("Range")) && data->state.range) { in rtsp_do()
421 if(Curl_checkheaders(data, STRCONST("CSeq"))) { in rtsp_do()
425 if(Curl_checkheaders(data, STRCONST("Session"))) { in rtsp_do()
511 if(!Curl_checkheaders(data, STRCONST("Content-Length"))) { in rtsp_do()
[all …]
Dopenldap.c1038 result = client_write(data, STRCONST("DN: "), bv.bv_val, bv.bv_len, in oldap_recv()
1039 STRCONST("\n")); in oldap_recv()
1052 result = client_write(data, STRCONST("\t"), bv.bv_val, bv.bv_len, in oldap_recv()
1053 STRCONST(":\n")); in oldap_recv()
1065 result = client_write(data, STRCONST("\t"), bv.bv_val, bv.bv_len, in oldap_recv()
1066 STRCONST(":")); in oldap_recv()
1094 result = client_write(data, STRCONST(": "), val_b64, val_b64_sz, in oldap_recv()
1095 STRCONST("\n")); in oldap_recv()
1099 result = client_write(data, STRCONST(" "), in oldap_recv()
1101 STRCONST("\n")); in oldap_recv()
[all …]
Dcf-h1-proxy.c332 STRCONST("Connection:"), STRCONST("close"))) in on_resp_header()
343 STRCONST("Transfer-Encoding:"), in on_resp_header()
344 STRCONST("chunked"))) { in on_resp_header()
352 STRCONST("Proxy-Connection:"), in on_resp_header()
353 STRCONST("close"))) in on_resp_header()
586 if(!Curl_checkProxyheaders(data, cf->conn, STRCONST("Host"))) { in CONNECT_host()
757 if(!Curl_checkProxyheaders(data, conn, STRCONST("User-Agent")) && in start_CONNECT()
771 if(!Curl_checkProxyheaders(data, conn, STRCONST("Proxy-Connection"))) { in start_CONNECT()
Dmime.c320 for(result = Curl_dyn_addn(&db, STRCONST("")); !result && *src; src++) { in escape_string()
946 hdr->data, strlen(hdr->data), STRCONST("\r\n")); in readback_part()
952 sz = readback_bytes(&part->state, buffer, bufsize, STRCONST("\r\n"), in readback_part()
953 STRCONST("")); in readback_part()
1018 sz = readback_bytes(&mime->state, buffer, nitems, STRCONST("\r\n--"), in mime_subparts_read()
1019 STRCONST("")); in mime_subparts_read()
1026 MIME_BOUNDARY_LEN, STRCONST("\r\n")); in mime_subparts_read()
1029 MIME_BOUNDARY_LEN, STRCONST("--\r\n")); in mime_subparts_read()
1669 size += slist_size(part->userheaders, 2, STRCONST("Content-Type")); in Curl_mime_size()
1784 customct = search_header(part->userheaders, STRCONST("Content-Type")); in Curl_mime_prepare_headers()
[all …]
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()
Dstrcase.h46 #define checkprefix(a,b) curl_strnequal(b, STRCONST(a))
Dc-hyper.c161 if(Curl_dyn_addn(&data->state.headerb, STRCONST("\r\n"))) in hyper_each_header()
1101 STRCONST("Accept"))?NULL:"Accept: */*\r\n"; in Curl_http()
1114 if(conn->bits.altused && !Curl_checkheaders(data, STRCONST("Alt-Used"))) { in Curl_http()
1130 !Curl_checkheaders(data, STRCONST("Proxy-Connection")) && in Curl_http()
1131 !Curl_checkProxyheaders(data, conn, STRCONST("Proxy-Connection"))) { in Curl_http()
1139 if(data->state.referer && !Curl_checkheaders(data, STRCONST("Referer"))) { in Curl_http()
1159 if(!Curl_checkheaders(data, STRCONST("Accept-Encoding")) && in Curl_http()
Dhttp_aws_sigv4.c77 return Curl_checkheaders(data, STRCONST("Date")); in find_date_hdr()
161 if(Curl_checkheaders(data, STRCONST("Host"))) { in make_headers()
549 if(Curl_checkheaders(data, STRCONST("Authorization"))) { in Curl_output_aws_sigv4()
Dhttp_chunks.c215 result = Curl_dyn_addn(&conn->trailer, (char *)STRCONST("\x0d\x0a")); in Curl_httpchunk_read()
Dcf-haproxy.c81 result = Curl_dyn_addn(&ctx->data_out, STRCONST("PROXY UNKNOWN\r\n")); in cf_haproxy_date_out_set()
Dhttp1.c340 result = Curl_dyn_addn(dbuf, STRCONST("\r\n")); in Curl_h1_req_write_head()
Dcurl_setup.h795 #define STRCONST(x) x,sizeof(x)-1 macro
Dhttp2.c1047 result = recvbuf_write_hds(cf, data, STRCONST("\r\n")); in on_stream_frame()
1518 result = recvbuf_write_hds(cf, data_s, STRCONST("HTTP/2 ")); in on_header()
1525 result = recvbuf_write_hds(cf, data_s, STRCONST(" \r\n")); in on_header()
1543 result = recvbuf_write_hds(cf, data_s, STRCONST(": ")); in on_header()
1549 result = recvbuf_write_hds(cf, data_s, STRCONST("\r\n")); in on_header()
Ddoh.c529 if(Curl_dyn_addn(c, STRCONST("."))) in store_cname()
Dws.c584 if(!Curl_checkheaders(data, STRCONST(heads[i].name))) { in Curl_ws_request()
Dsmtp.c704 if(!Curl_checkheaders(data, STRCONST("Mime-Version"))) in smtp_perform_mail()
Dimap.c783 if(!Curl_checkheaders(data, STRCONST("Mime-Version"))) in imap_perform_append()
/third_party/curl/src/
Dtool_setopt.c225 result = curlx_dyn_addn(&escaped, STRCONST("")); in c_escape()