Searched refs:newurl (Results 1 - 12 of 12) sorted by relevance
/third_party/python/Lib/urllib/ |
H A D | request.py | 653 def redirect_request(self, req, fp, code, msg, headers, newurl): 677 newurl = newurl.replace(' ', '%20') 682 return Request(newurl, 695 newurl = headers["location"] 697 newurl = headers["uri"] 702 urlparts = urlparse(newurl) 709 newurl, code, 710 "%s - Redirection to url '%s' is not allowed" % (msg, newurl), 716 newurl [all...] |
/third_party/curl/src/ |
H A D | tool_operhlp.c | 141 char *newurl; in add_file_name_to_url() local 159 uerr = curl_url_get(uh, CURLUPART_URL, &newurl, CURLU_DEFAULT_SCHEME); in add_file_name_to_url() 165 *inurlp = newurl; in add_file_name_to_url()
|
/third_party/curl/lib/ |
H A D | transfer.c | 1015 !k->newurl) { in Curl_readwrite() 1226 * Curl_follow() handles the URL redirect magic. Pass in the 'newurl' string 1232 char *newurl, /* the Location: string */ in Curl_follow() 1237 (void)newurl; in Curl_follow() 1304 Curl_is_absolute_url(newurl, NULL, 0, FALSE)) { in Curl_follow() 1311 uc = curl_url_set(data->state.uh, CURLUPART_URL, newurl, in Curl_follow() 1325 newurl = strdup(newurl); in Curl_follow() 1326 if(!newurl) in Curl_follow() 1330 uc = curl_url_get(data->state.uh, CURLUPART_URL, &newurl, in Curl_follow() 1231 Curl_follow(struct Curl_easy *data, char *newurl, followtype type) Curl_follow() argument [all...] |
H A D | multi.c | 663 Curl_safefree(data->req.newurl); in multi_done() 2283 char *newurl = NULL; local 2287 drc = Curl_retry_request(data, &newurl); 2299 if(newurl) { 2302 drc = Curl_follow(data, newurl, follow); 2322 free(newurl); 2451 char *newurl = NULL; local 2490 CURLcode ret = Curl_retry_request(data, &newurl); 2492 retry = (newurl)?TRUE:FALSE; 2505 CURLcode ret = Curl_retry_request(data, &newurl); [all...] |
H A D | transfer.h | 46 CURLcode Curl_follow(struct Curl_easy *data, char *newurl,
|
H A D | cf-h1-proxy.c | 227 Curl_safefree(data->req.newurl); in start_CONNECT() 526 headers. 'newurl' is set to a new URL if we must loop. */ in recv_CONNECT_resp() 668 Curl_safefree(data->req.newurl); in start_CONNECT() 916 if(data->req.newurl) { in H1_CONNECT() 945 } while(data->req.newurl); in H1_CONNECT() 950 Curl_safefree(data->req.newurl); in H1_CONNECT()
|
H A D | http.c | 557 * which one (if any) to use. It will set 'newurl' if an auth method was 611 /* In case this is GSS auth, the newurl field is already allocated so in Curl_http_auth_act() 614 Curl_safefree(data->req.newurl); in Curl_http_auth_act() 615 data->req.newurl = strdup(data->state.url); /* clone URL */ in Curl_http_auth_act() 616 if(!data->req.newurl) in Curl_http_auth_act() 628 data->req.newurl = strdup(data->state.url); /* clone URL */ in Curl_http_auth_act() 629 if(!data->req.newurl) in Curl_http_auth_act() 970 free(data->req.newurl); in Curl_http_input_auth() 971 data->req.newurl = strdup(data->state.url); in Curl_http_input_auth() 972 if(!data->req.newurl) in Curl_http_input_auth() [all...] |
H A D | urlapi.c | 253 static CURLcode concat_url(char *base, const char *relurl, char **newurl) in concat_url() argument 267 *newurl = NULL; in concat_url() 303 /* now deal with one "./" or any amount of "../" in the newurl in concat_url() 387 *newurl = Curl_dyn_ptr(&newest); in concat_url()
|
H A D | url.c | 273 free(data->req.newurl); in Curl_close() 274 data->req.newurl = NULL; in Curl_close() 1808 char *newurl; local 1821 uc = curl_url_get(uh, CURLUPART_URL, &newurl, 0); 1826 data->state.url = newurl; 2066 Curl_safefree(data->req.newurl);
|
H A D | c-hyper.c | 217 Curl_safefree(data->req.newurl); in hyper_body_chunk() 468 data->req.newurl = strdup(data->state.url); in Curl_hyper_stream() 514 * available and decides which one (if any) to use. It will set 'newurl' in Curl_hyper_stream()
|
H A D | cf-h2-proxy.c | 1006 if(data->req.newurl) { in inspect_response() 1008 Curl_safefree(data->req.newurl); in inspect_response()
|
H A D | urldata.h | 693 char *newurl; /* Set to the new URL to use when a redirect or a retry is member
|
Completed in 24 milliseconds