/curl/docs/examples/ |
H A D | getredirect.c | 35 char *location; in main() local 58 res = curl_easy_getinfo(curl, CURLINFO_REDIRECT_URL, &location); in main() 60 if((res == CURLE_OK) && location) { in main() 63 printf("Redirected to: %s\n", location); in main()
|
/curl/docs/cmdline-opts/ |
H A D | location-trusted.md | 4 Long: location-trusted 5 Help: As --location, but send secrets to other hosts 13 - --location-trusted -u user:password $URL 14 - --location-trusted -H "Cookie: session=abc" $URL 17 # `--location-trusted` 19 Instructs curl to like --location follow HTTP redirects, but permits it to
|
H A D | max-redirs.md | 12 - location 14 - --max-redirs 3 --location $URL 19 Set maximum number of redirections to follow. When --location is used, to
|
H A D | post303.md | 13 - location 15 - --post303 --location -d "data" $URL 22 303 redirection. This option is meaningful only when using --location.
|
H A D | post301.md | 13 - location 15 - --post301 --location -d "data" $URL 24 option is meaningful only when using --location.
|
H A D | post302.md | 13 - location 15 - --post302 --location -d "data" $URL 24 option is meaningful only when using --location.
|
H A D | location.md | 4 Long: location 18 # `--location` 21 location (indicated with a Location: header and a 3XX response code), this 27 host, it does not get the credentials pass on. See --location-trusted on how
|
/curl/tests/data/ |
H A D | test1067 | 27 If this is received, the location following worked 42 If this is received, the location following worked 56 http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER --silent --location --referer "firstone.html;auto" --writ…
|
H A D | test976 | 6 --location-trusted 65 HTTP with auth redirected to HTTP on a diff port --location-trusted 68 -x http://%HOSTIP:%HTTPPORT http://firsthost.com --location-trusted -u joe:secret
|
H A D | test234 | 9 --location-trusted 67 HTTP, proxy, site+proxy auth and Location: to new host using location-trusted 70 …age/%TESTNUMBER -x %HOSTIP:%HTTPPORT --user iam:myself --proxy-user testing:this --location-trusted
|
H A D | test1261 | 30 'redirect_url' with --location and --max-redirs 33 http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w '%{redirect_url}\n' --location --max-redirs 0
|
H A D | test975 | 6 --location-trusted 62 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --location-trusted -u joe:secret
|
H A D | test1088 | 10 --location-trusted 79 HTTP, proxy with --anyauth and Location: to new host using location-trusted 82 …/want/that/page/%TESTNUMBER1000 -x %HOSTIP:%HTTPPORT --user iam:myself --location-trusted --anyauth
|
H A D | test257 | 31 If this is received, the location following worked 40 If this is received, the location following worked 60 If this is received, the location following worked
|
H A D | test45 | 27 If this is received, the location following worked 42 If this is received, the location following worked
|
H A D | test1031 | 27 If this is received, the location following worked 42 If this is received, the location following worked
|
H A D | test11 | 27 If this is received, the location following worked 42 If this is received, the location following worked
|
H A D | test1168 | 27 If this is received, the location following worked 42 If this is received, the location following worked
|
H A D | test998 | 5 --location-trusted 65 -x %HOSTIP:%HTTPPORT http://alberto:einstein@somwhere.example/%TESTNUMBER --location-trusted
|
H A D | test187 | 28 If this is received, the location following worked 43 If this is received, the location following worked
|
H A D | test43 | 28 If this is received, the location following worked 43 If this is received, the location following worked
|
H A D | test276 | 27 If this is received, the location following worked 42 If this is received, the location following worked
|
H A D | test28 | 26 If this is received, the location following worked 45 If this is received, the location following worked
|
H A D | test309 | 29 If this is received, the location following worked 44 If this is received, the location following worked
|
/curl/src/ |
H A D | tool_cb_hdr.c | 61 static void write_linked_location(CURL *curl, const char *location, 429 void write_linked_location(CURL *curl, const char *location, size_t loclen, in write_linked_location() argument 434 const char *loc = location; in write_linked_location() 491 space_skipped, location, in write_linked_location() 501 fwrite(location, loclen, 1, stream); in write_linked_location()
|