Home
last modified time | relevance | path

Searched refs:request (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/curl/docs/cmdline-opts/
H A Drequest-target.md4 Long: request-target
6 Help: Specify the target for this request
12 - request
14 - --request-target "*" -X OPTIONS $URL
17 # `--request-target`
24 curl passes on the verbatim string you give it its the request without any
H A Drequest.md4 Long: request
7 Help: Specify request method to use
12 - request-target
18 # `--request`
22 curl passes on the verbatim string you give it in the request without any
26 Specifies a custom request method to use when communicating with the HTTP
27 server. The specified request method is used instead of the method otherwise
36 This option only changes the actual word used in the HTTP request, it does not
38 request, using -X HEAD does not suffice. You need to use the --head option.
40 The method string you set with --request is used for all requests, which
[all …]
H A Dget.md13 - request
23 --data-urlencode to be used in an HTTP GET request instead of the POST request
28 URL with a HEAD request.
H A Dlocation.md22 option makes curl redo the request on the new place. If used together with
32 When curl follows a redirect and if the request is a POST, it sends the
33 following request with a GET if the HTTP response was 301, 302, or 303. If the
34 response code was any other 3xx code, curl resends the following request using
40 The method set with --request overrides the method curl would otherwise select
/curl/lib/
H A Dheaders.c82 if(request > data->state.requests) in curl_easy_header()
84 if(request == -1) in curl_easy_header()
85 request = data->state.requests; in curl_easy_header()
92 (hs->request == request)) { in curl_easy_header()
111 (hs->request == request) && in curl_easy_header()
142 if(request == -1) in curl_easy_nextheader()
143 request = data->state.requests; in curl_easy_nextheader()
159 if((hs->type & type) && (hs->request == request)) in curl_easy_nextheader()
176 (check->request == request) && in curl_easy_nextheader()
433 (void)request; in curl_easy_header()
[all …]
/curl/tests/data/
H A Dtest9506 --request
25 SMTP VRFY with custom request
28 # the custom request just does it lowercase to remain the same command
30 smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient --request "vrfy"
H A Dtest135 HTTP custom request
15 blabla custom request result
25 HTTP custom request 'DELETE'
H A Dtest16136 --request-target
32 Send "OPTIONS *" with --request-target to a proxy
38 --request-target '*' -X OPTIONS --proxy http://%HOSTIP:%HTTPPORT/ -H "Testno: %TESTNUMBER" http://w…
H A Dtest12986 --request-target
35 HTTP GET special path with --request-target
38 --request-target "XXX" "http://%HOSTIP:%HTTPPORT/" -H "Testno: %TESTNUMBER"
H A Dtest12995 --request-target
34 Send "OPTIONS *" with --request-target
37 --request-target '*' -X OPTIONS http://%HOSTIP:%HTTPPORT/ -H "Testno: %TESTNUMBER"
H A Dtest175 HTTP custom request
30 # Use a silly request without '--':
31 request MOOO
/curl/docs/libcurl/opts/
H A DCURLOPT_CUSTOMREQUEST.md23 CURLOPT_CUSTOMREQUEST - custom request method
37 When changing the request *method* by setting CURLOPT_CUSTOMREQUEST(3), you do
39 string sent in the request.
41 libcurl passes on the verbatim string in its request without any filter or
50 This option can be used to specify the request:
55 particularly useful, for example, for performing an HTTP DELETE request.
59 When you tell libcurl to do a HEAD request, but then specify a GET though a
60 custom request libcurl still acts as if it sent a HEAD. To switch to a proper
65 Many people have wrongly used this option to replace the entire request with
99 with CURLOPT_MAIL_RCPT(3), to specify an EXPN request. If the
[all …]
H A DCURLOPT_REQUEST_TARGET.md19 CURLOPT_REQUEST_TARGET - alternative target for this request
31 Pass a char pointer to string which libcurl uses in the upcoming request
34 libcurl passes on the verbatim string in its request without any filter or
59 /* issue an OPTIONS * request (no leading slash) */
62 /* Perform the request */
H A DCURLOPT_CONNECT_TO.md40 request, PORT is the port of the request, CONNECT-TO-HOST is the hostname to
43 The first string that matches the request's host and port is used.
49 or port always match (the request's host or port is ignored). When
51 disabled for the host or port, and the request's host or port are used to
54 This option is suitable to direct the request at a specific server, e.g. at a
66 the port in the request URL, because connecting to the host and the port in
67 the request URL is the default behavior.
69 If an HTTP proxy is used for a request having a special "connect to" host or
70 port, and the "connect to" host or port differs from the request's host and
72 specific request. This is necessary because it is not possible to connect to a
H A DCURLOPT_NOBODY.md20 CURLOPT_NOBODY - do the download request without getting the body
34 libcurl do a HEAD request. For most other protocols it means just not asking
39 HEAD. The proper way to get back to a GET request is to set
47 URL you request).
67 /* Perform the request */
H A DCURLOPT_HTTPGET.md19 CURLOPT_HTTPGET - ask for an HTTP GET request
31 Pass a long. If *useget* is 1, this forces the HTTP request to get back to
39 select which HTTP request method to use, they cannot deselect a method. To
60 /* Perform the request */
H A DCURLOPT_PROXYHEADER.md30 Pass a pointer to a linked list of HTTP headers to pass in your HTTP request
35 - when there is also a request sent to a host.
37 The first line in a request (containing the method, usually a GET or POST) is
39 following the request-line are headers. Adding this method line in this list
40 of headers causes your request to send an invalid header.
/curl/docs/libcurl/
H A Dcurl_easy_nextheader.md26 int request,
41 The *request* argument tells libcurl from which request you want headers
43 argument lets you specify which particular individual request you want the
44 headers from. 0 being the first request and then the number increases for
46 a shortcut to "the last" request in the series, independently of the actual
49 It is suggested that you pass in the same **origin** and **request** when
54 within the given scope (origin + request).
79 /* extract the normal headers from the first request */
85 /* extract the normal headers + 1xx + trailers from the last request */
/curl/tests/libtest/
H A Dlib572.c52 int request = 1; in test() local
75 stream_uri = suburl(URL, request++); in test()
90 stream_uri = suburl(URL, request++); in test()
125 stream_uri = suburl(URL, request++); in test()
140 stream_uri = suburl(URL, request++); in test()
159 stream_uri = suburl(URL, request++); in test()
H A Dlib570.c37 int request = 1; in test() local
60 stream_uri = suburl(URL, request++); in test()
81 stream_uri = suburl(URL, request++); in test()
96 stream_uri = suburl(URL, request++); in test()
H A Dlib556.c65 const char *request = in test() local
68 const char *sbuf = request; in test()
69 size_t sblen = strlen(request); in test()
H A Dlib568.c52 int request = 1; in test() local
72 stream_uri = suburl(URL, request++); in test()
108 stream_uri = suburl(URL, request++); in test()
124 stream_uri = suburl(URL, request++); in test()
154 stream_uri = suburl(URL, request++); in test()
H A Dlib571.c108 int request = 1; in test() local
131 stream_uri = suburl(URL, request++); in test()
153 stream_uri = suburl(URL, request++); in test()
168 stream_uri = suburl(URL, request++); in test()
182 stream_uri = suburl(URL, request++); in test()
H A Dlib569.c42 int request = 1; in test() local
82 stream_uri = suburl(URL, request++); in test()
102 stream_uri = suburl(URL, request++); in test()
/curl/include/curl/
H A Dheader.h62 int request,
67 int request,

Completed in 26 milliseconds

12345678910>>...13