/curl/docs/cmdline-opts/ |
H A D | url-query.md | 4 Long: url-query 6 Help: Add a URL query part 15 - --url-query name=val $URL 16 - --url-query =encodethis http://example.net/foo 17 - --url-query name@file $URL 18 - --url-query @fileonly $URL 19 - --url-query "+name=%20foo" $URL 22 # `--url-query` 24 Add a piece of data, usually a name + value pair, to the end of the URL query 31 The query part of a URL is the one following the question mark on the right
|
H A D | get.md | 25 query string.
|
/curl/tests/data/ |
H A D | test1221 | 7 --url-query 29 --url-query with --data-urlencode 32 …-url-query "my name is moo[]" --url-query "yes=s i r" --url-query "v_alue@%LOGDIR/%TESTNUMBER.txt"…
|
H A D | test1202 | 14 0Query query succeeded /foo foo.bar.invalid 70 26 Gopher query 29 "gopher://%HOSTIP:%GOPHERPORT/7/the/search/engine%09query%20succeeded/%TESTNUMBER" 37 /the/search/engine query succeeded/%TESTNUMBER
|
H A D | test2076 | 51 HTTP with digest auth and URI contains query 54 "http://%HOSTIP:%HTTPPORT/%TESTNUMBER?query" -u testuser:testpass --digest 61 GET /%TESTNUMBER?query HTTP/1.1 66 GET /%TESTNUMBER?query HTTP/1.1 68 Authorization: Digest username="testuser", realm="testrealm", nonce="1", uri="/%TESTNUMBER?query", …
|
H A D | test1110 | 3 # when it contains a query. 27 HTTP GET with URL that contains a fragment after the query part
|
H A D | test739 | 20 IPNS path and query args for gateway and IPFS url (malformed gateway url)
|
H A D | test1220 | 21 file:// URLs with query string
|
H A D | test425 | 30 HTTP PUT with path ending with slash + query
|
H A D | test1118 | 35 URL without slash and @-letter in query
|
H A D | test970 | 62 …query":null,"url.scheme":"http","url.user":null,"url.zoneid":null,"url_effective":"http://%HOSTIP:…
|
H A D | test972 | 63 …query":null,"url.scheme":"http","url.user":null,"url.zoneid":null,"url_effective":"http://%HOSTIP:…
|
H A D | test733 | 34 IPFS with path and query args
|
H A D | test734 | 34 IPFS with path, query args and gateway with path
|
H A D | test735 | 34 IPNS with path, query args and gateway with path
|
H A D | test423 | 37 …}+%{url.path}+%{url.scheme}+%{url.user}+%{url.password}+%{url.port}+%{url.query}+%{url.fragment}\n'
|
H A D | test472 | 39 aws-sigv4 with query
|
/curl/lib/ |
H A D | urlapi.c | 79 char *query; member 99 free(u->query); in free_urlhandle() 110 const char *query; in find_host_sep() local 125 if(!query) in find_host_sep() 128 return sep < query ? sep : query; in find_host_sep() 151 bool left = !query; in urlencode_str() 1262 if(query) { in parseurl() 1278 u->query = Curl_memdup0(query + 1, qlen - 1); in parseurl() 1510 (u->query && u->query[0]) || in curl_url_get() 1613 u->query ? u->query : "", in curl_url_get() [all …]
|
H A D | gopher.c | 140 char *query = data->state.up.query; in gopher_do() local 153 if(query) in gopher_do() 154 gopherpath = aprintf("%s?%s", path, query); in gopher_do()
|
H A D | cf-https-connect.c | 88 b->cf->cft->query(b->cf, data, CF_QUERY_CONNECT_REPLY_MS, in cf_hc_baller_reply_ms() 422 int query) in cf_get_max_baller_time() argument 431 if(cfb && !cfb->cft->query(cfb, data, query, NULL, &t)) { in cf_get_max_baller_time() 437 if(cfb && !cfb->cft->query(cfb, data, query, NULL, &t)) { in cf_get_max_baller_time() 446 int query, int *pres1, void *pres2) in cf_hc_query() argument 451 switch(query) { in cf_hc_query() 475 cf->next->cft->query(cf->next, data, query, pres1, pres2) : in cf_hc_query()
|
H A D | imap.h | 66 char *query; /* Query to search for */ member
|
H A D | cfilters.c | 139 int query, int *pres1, void *pres2) in Curl_cf_def_query() argument 142 cf->next->cft->query(cf->next, data, query, pres1, pres2) : in Curl_cf_def_query() 527 result = cf ? cf->cft->query(cf, data, CF_QUERY_NEED_FLUSH, in Curl_conn_cf_needs_flush() 658 if(cf && !cf->cft->query(cf, data, CF_QUERY_SOCKET, NULL, &sock)) in Curl_conn_cf_get_socket() 668 return cf->cft->query(cf, data, CF_QUERY_IP_INFO, is_ipv6, ipquad); in Curl_conn_cf_get_ip_info() 787 cf->cft->query(cf, data, CF_QUERY_TIMER_CONNECT, NULL, &connected); in conn_report_connect_stats() 792 cf->cft->query(cf, data, CF_QUERY_TIMER_APPCONNECT, NULL, &appconnected); in conn_report_connect_stats() 822 result = cf ? cf->cft->query(cf, data, CF_QUERY_MAX_CONCURRENT, in Curl_conn_get_max_concurrent() 835 result = cf ? cf->cft->query(cf, data, CF_QUERY_STREAM_ERROR, in Curl_conn_get_stream_error()
|
/curl/src/ |
H A D | tool_operhlp.c | 96 char *query = NULL; in add_file_name_to_url() local 110 uerr = curl_url_get(uh, CURLUPART_QUERY, &query, 0); in add_file_name_to_url() 111 if(!uerr && query) { in add_file_name_to_url() 112 curl_free(query); in add_file_name_to_url()
|
/curl/docs/libcurl/ |
H A D | curl_url_get.md | 71 The query component also gets plus-to-space conversion as a bonus when this 120 query and fragments parts or when used in the full URL. By default, libcurl 123 An empty query part is one where this is nothing following the question mark 200 The initial question mark that denotes the beginning of the query part is a 201 delimiter only. It is not part of the query contents. 203 A not-present query returns *part* set to NULL. 205 A zero-length query returns *part* as NULL unless CURLU_GET_EMPTY is set. 207 The query part gets pluses converted to space when asked to URL decode on get
|
H A D | libcurl-url.md | 97 rc = curl_url_get(h, CURLUPART_QUERY, &query, 0); 131 An application can append a string to the right end of the query part with the 135 application can then add the string "hat=1" to the query part like this:
|