Home
last modified time | relevance | path

Searched refs:redirect (Results 1 – 25 of 105) sorted by relevance

12345

/curl/tests/libtest/
H A Dlib1502.c50 char redirect[160]; in test() local
60 msnprintf(redirect, sizeof(redirect), "google.com:%s:%s", libtest_arg2, in test()
65 dns_cache_list = curl_slist_append(NULL, redirect); in test()
/curl/docs/libcurl/opts/
H A DCURLINFO_REDIRECT_TIME_T.md51 curl_off_t redirect;
55 res = curl_easy_getinfo(curl, CURLINFO_REDIRECT_TIME_T, &redirect);
57 printf("Time: %" CURL_FORMAT_CURL_OFF_T ".%06ld", redirect / 1000000,
58 (long)(redirect % 1000000));
H A DCURLOPT_MAXREDIRS.md31 many redirections have been followed, the next redirect triggers the error
35 Setting the limit to 0 makes libcurl refuse any redirect.
38 to get stuck in never-ending redirect loops.
55 /* enable redirect following */
H A DCURLINFO_REDIRECT_URL.md20 CURLINFO_REDIRECT_URL - get the URL a redirect would go to
32 Pass a pointer to a char pointer to receive the URL a redirect *would* take
34 you think using the built-in libcurl redirect logic is not good enough for you
38 This URL is also set if the CURLOPT_MAXREDIRS(3) limit prevented a redirect to
H A DCURLINFO_REDIRECT_TIME.md50 double redirect;
54 res = curl_easy_getinfo(curl, CURLINFO_REDIRECT_TIME, &redirect);
56 printf("Time: %.1f", redirect);
H A DCURLOPT_REDIR_PROTOCOLS.md19 CURLOPT_REDIR_PROTOCOLS - protocols allowed to redirect to
37 redirect when CURLOPT_FOLLOWLOCATION(3) is enabled. This allows you to
44 By default libcurl allows HTTP, HTTPS, FTP and FTPS on redirect (7.65.2).
45 *CURLPROTO_ALL* enables all protocols on redirect, including those
H A DCURLOPT_POSTREDIR.md20 CURLOPT_POSTREDIR - how to act on an HTTP POST redirect
38 libcurl maintain the request method after a 302 redirect whilst setting bit 2
40 after a 303 redirect. The value **CURL_REDIR_POST_ALL** is a convenience
H A DCURLOPT_FOLLOWLOCATION.md46 When following a redirect, the specific 30x response code also dictates which
49 instructs libcurl otherwise. All other redirect response codes make libcurl
53 or just lacks features, it is easy to instead implement your own redirect
/curl/docs/cmdline-opts/
H A Dpost303.md5 Help: Do not switch to GET after a 303 redirect
21 following 303 redirect. A server may require a POST to remain a POST after a
H A Dpost301.md5 Help: Do not switch to GET after a 301 redirect
21 following a 301 redirect. The non-RFC behavior is ubiquitous in web browsers,
H A Dpost302.md5 Help: Do not switch to GET after a 302 redirect
21 following a 302 redirect. The non-RFC behavior is ubiquitous in web browsers,
H A Dproto-redir.md6 Help: Enable/disable PROTOCOLS on redirect
21 Example, allow only HTTP and HTTPS on redirect:
H A Dconnect-to.md32 Example: redirect connects from the example.com hostname to 127.0.0.1
37 Example: redirect connects from all hostnames to 127.0.0.1 independently of
H A Dstderr.md6 Help: Where to redirect stderr
H A Dlocation.md26 its credentials to the initial host. If a redirect takes curl to a different
32 When curl follows a redirect and if the request is a POST, it sends the
H A Dsilent.md22 terminal/stdout unless you redirect it.
/curl/tests/data/
H A Dtest97314 HTTP/1.1 301 redirect
33 HTTP/1.1 301 redirect
H A Dtest97514 HTTP/1.1 301 redirect
33 HTTP/1.1 301 redirect
H A Dtest72815 # The hostname in this redirect is 256 characters and too long (> 255) for
37 SOCKS5h with HTTP redirect to hostname too long
H A Dtest97414 HTTP/1.1 301 redirect
35 HTTP/1.1 301 redirect
H A Dtest41455 HTTPS sec-cookie, HTTP redirect, same name cookie, redirect back
H A Dtest89816 HTTP/1.1 301 redirect
37 HTTP/1.1 301 redirect
H A Dtest97614 HTTP/1.1 301 redirect
35 HTTP/1.1 301 redirect
H A Dtest191039 HTTP credentials with newline and redirect
H A Dtest5543 HTTP follow redirect with single slash in path

Completed in 24 milliseconds

12345