Home
last modified time | relevance | path

Searched refs:location (Results 1 – 25 of 78) sorted by relevance

1234

/curl/docs/examples/
H A Dgetredirect.c35 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 Dlocation-trusted.md4 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 Dmax-redirs.md12 - location
14 - --max-redirs 3 --location $URL
19 Set maximum number of redirections to follow. When --location is used, to
H A Dpost303.md13 - location
15 - --post303 --location -d "data" $URL
22 303 redirection. This option is meaningful only when using --location.
H A Dpost301.md13 - location
15 - --post301 --location -d "data" $URL
24 option is meaningful only when using --location.
H A Dpost302.md13 - location
15 - --post302 --location -d "data" $URL
24 option is meaningful only when using --location.
H A Dlocation.md4 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 Dtest106727 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 Dtest9766 --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 Dtest2349 --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 Dtest126130 '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 Dtest9756 --location-trusted
62 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --location-trusted -u joe:secret
H A Dtest108810 --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 Dtest25731 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 Dtest4527 If this is received, the location following worked
42 If this is received, the location following worked
H A Dtest103127 If this is received, the location following worked
42 If this is received, the location following worked
H A Dtest1127 If this is received, the location following worked
42 If this is received, the location following worked
H A Dtest116827 If this is received, the location following worked
42 If this is received, the location following worked
H A Dtest9985 --location-trusted
65 -x %HOSTIP:%HTTPPORT http://alberto:einstein@somwhere.example/%TESTNUMBER --location-trusted
H A Dtest18728 If this is received, the location following worked
43 If this is received, the location following worked
H A Dtest4328 If this is received, the location following worked
43 If this is received, the location following worked
H A Dtest27627 If this is received, the location following worked
42 If this is received, the location following worked
H A Dtest2826 If this is received, the location following worked
45 If this is received, the location following worked
H A Dtest30929 If this is received, the location following worked
44 If this is received, the location following worked
/curl/src/
H A Dtool_cb_hdr.c61 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()

Completed in 30 milliseconds

1234