Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 104) sorted by relevance

12345

/curl/docs/libcurl/opts/
H A DCURLINFO_EFFECTIVE_METHOD.md19 CURLINFO_EFFECTIVE_METHOD - get the last used HTTP method
33 method.
35 In cases when you have asked libcurl to follow redirects, the method may not be
36 the same method the first request would use.
57 char *method = NULL;
58 curl_easy_getinfo(curl, CURLINFO_EFFECTIVE_METHOD, &method);
59 if(method)
60 printf("Redirected to method: %s\n", method);
H A DCURLOPT_HTTPGET.md39 select which HTTP request method to use, they cannot deselect a method. To
40 reset a handle to default method, consider curl_easy_reset(3).
H A DCURLOPT_FOLLOWLOCATION.md47 request method libcurl uses in the subsequent request: For 301, 302 and 303
48 responses libcurl switches method from POST to GET unless CURLOPT_POSTREDIR(3)
50 use the same method again.
69 Since libcurl changes method or not based on the specific HTTP response code,
72 misbehave since CURLOPT_CUSTOMREQUEST(3) overrides the method libcurl would
H A DCURLOPT_FTP_FILEMETHOD.md17 CURLOPT_FTP_FILEMETHOD - select directory traversing method for FTP
25 long method);
30 Pass a long telling libcurl which *method* to use to reach a file on a
/curl/docs/cmdline-opts/
H A Dftp-method.md4 Long: ftp-method
5 Arg: <method>
14 - --ftp-method multicwd ftp://example.com/dir1/dir2/file
15 - --ftp-method nocwd ftp://example.com/dir1/dir2/file
16 - --ftp-method singlecwd ftp://example.com/dir1/dir2/file
19 # `--ftp-method`
21 Control what method curl should use to reach a file on an FTP(S)
22 server. The method argument should be one of the following alternatives:
H A Drequest.md6 Arg: <method>
7 Help: Specify request method to use
20 Change the method to use when starting the transfer.
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
40 The method string you set with --request is used for all requests, which
42 does not change request method according to the HTTP 30x response codes - and
H A Danyauth.md5 Help: Pick any authentication method
20 Figure out authentication method automatically, and use the most secure one
24 method, which you can do with --basic, --digest, --ntlm, and --negotiate.
H A Dproxy-anyauth.md5 Help: Pick any proxy authentication method
19 Automatically pick a suitable authentication method when communicating with
H A Dbasic.md18 Use HTTP Basic authentication with the remote host. This method is the default
20 previously set option that sets a different authentication method (such as
H A Dlocation.md35 the same unmodified method.
40 The method set with --request overrides the method curl would otherwise select
H A Dntlm.md20 Use NTLM authentication. The NTLM authentication method was designed by
25 method instead, such as Digest.
/curl/src/
H A Dtool_helpers.c108 char *method) in customrequest_helper() argument
120 if(!method) in customrequest_helper()
122 else if(curl_strequal(method, dflt[req])) { in customrequest_helper()
126 else if(curl_strequal(method, "head")) { in customrequest_helper()
H A Dtool_helpers.h34 char *method);
/curl/tests/data/
H A Dtest2977 --ftp-method
25 FTP CWD with --ftp-method singlecwd
28 --ftp-method singlecwd ftp://%HOSTIP:%FTPPORT/first/second/third/%TESTNUMBER
H A Dtest2967 --ftp-method
25 FTP CWD with --ftp-method multicwd
28 --ftp-method multicwd ftp://%HOSTIP:%FTPPORT/first/second/third/%TESTNUMBER
H A Dtest2987 --ftp-method
25 FTP CWD with --ftp-method nocwd
28 --ftp-method nocwd ftp://%HOSTIP:%FTPPORT/first/second/th%69rd/%TESTNUMBER
H A Dtest3407 --ftp-method
25 --ftp-method singlecwd ftp://%HOSTIP:%FTPPORT/%00first/second/third/%TESTNUMBER
H A Dtest71612 # method 2 is SOCKS5 asking for user+password
14 method 2
H A Dtest71726 # method 2 is SOCKS5 asking for user+password
28 method 2
H A Dtest74226 # method 2 is SOCKS5 asking for user+password
28 method 2
H A Dtest2447 --ftp-method
38 --ftp-method nocwd ftp://%HOSTIP:%FTPPORT/fir%23t/th%69rd/%TESTNUMBER/
H A Dtest114938 …ist/this/path/%TESTNUMBER/ --ftp-method multicwd --next ftp://%HOSTIP:%FTPPORT/list/this/path/%TES…
/curl/lib/
H A Dhttp.h97 const char **method, Curl_HttpReq *);
229 char method[24]; member
241 const char *method, size_t m_len,
247 const char *method, size_t m_len,
/curl/tests/unit/
H A Dunit2603.c44 const char *method; member
108 check_eq(p.req->method, t->method, "method"); in parse_success()
/curl/tests/http/clients/
H A Dhx-upload.c148 const char *method; member
269 if(!t->method || !strcmp("PUT", t->method)) in setup()
271 else if(!strcmp("POST", t->method)) in setup()
274 fprintf(stderr, "unsupported method '%s'\n", t->method); in setup()
334 const char *method = "PUT"; in main() local
381 method = optarg; in main()
455 t->method = method; in main()

Completed in 71 milliseconds

12345