Home
last modified time | relevance | path

Searched refs:request (Results 1 – 25 of 302) 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 its 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 or --data-urlencode to be used in an HTTP GET request instead of the POST
24 request that otherwise would be used. The data is appended to the URL
28 URL with a HEAD request.
H A Dlocation.md22 option makes curl redo the request on the new place. If used together with
31 When curl follows a redirect and if the request is a POST, it sends the
32 following request with a GET if the HTTP response was 301, 302, or 303. If the
33 response code was any other 3xx code, curl resends the following request using
39 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_REQUEST_TARGET.md18 CURLOPT_REQUEST_TARGET - alternative target for this request
30 Pass a char pointer to string which libcurl uses in the upcoming request
33 libcurl passes on the verbatim string in its request without any filter or
50 /* issue an OPTIONS * request (no leading slash) */
53 /* Perform the request */
H A DCURLOPT_CUSTOMREQUEST.md22 CURLOPT_CUSTOMREQUEST - custom request method
36 When changing the request *method* by setting CURLOPT_CUSTOMREQUEST(3), you
38 string sent in the request.
40 libcurl passes on the verbatim string in its request without any filter or
45 This option can be used to specify the request:
50 particularly useful, for example, for performing an HTTP DELETE request.
54 When you tell libcurl to do a HEAD request, but then specify a GET though a
55 custom request libcurl still acts as if it sent a HEAD. To switch to a proper
60 Many people have wrongly used this option to replace the entire request with
94 with CURLOPT_MAIL_RCPT(3), to specify an EXPN request. If the
[all …]
H A DCURLOPT_CONNECT_TO.md39 request, PORT is the port of the request, CONNECT-TO-HOST is the hostname to
42 The first string that matches the request's host and port is used.
48 or port always match (the request's host or port is ignored). When
50 disabled for the host or port, and the request's host or port are used to
53 This option is suitable to direct the request at a specific server, e.g. at a
65 the port in the request URL, because connecting to the host and the port in
66 the request URL is the default behavior.
68 If an HTTP proxy is used for a request having a special "connect to" host or
69 port, and the "connect to" host or port differs from the request's host and
71 specific request. This is necessary because it is not possible to connect to a
H A DCURLOPT_PROXYHEADER.md29 Pass a pointer to a linked list of HTTP headers to pass in your HTTP request
34 - when there is also a request sent to a host.
36 The first line in a request (containing the method, usually a GET or POST) is
38 following the request-line are headers. Adding this method line in this list
39 of headers causes your request to send an invalid header.
H A DCURLOPT_NOBODY.md19 CURLOPT_NOBODY - do the download request without getting the body
33 libcurl do a HEAD request. For most other protocols it means just not asking
38 HEAD. The proper way to get back to a GET request is to set
46 URL you request).
64 /* Perform the request */
H A DCURLOPT_HTTPGET.md18 CURLOPT_HTTPGET - ask for an HTTP GET request
30 Pass a long. If *useget* is 1, this forces the HTTP request to get back to
38 select which HTTP request method to use, they cannot deselect a method. To
57 /* Perform the request */
/curl/docs/libcurl/
H A Dcurl_easy_nextheader.md25 int request,
40 The *request* argument tells libcurl from which request you want headers
42 argument lets you specify which particular individual request you want the
43 headers from. 0 being the first request and then the number increases for
45 a shortcut to "the last" request in the series, independently of the actual
48 It is suggested that you pass in the same **origin** and **request** when
53 within the given scope (origin + request).
76 /* extract the normal headers from the first request */
82 /* 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 Dlib556.c65 const char *request = in test() local
70 res = curl_easy_send(curl, request, strlen(request), &iolen); 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 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 27 milliseconds

12345678910>>...13