Lines Matching refs:scheme
98 const char *scheme = NULL; in tool_header_cb() local
132 curl_easy_getinfo(per->curl, CURLINFO_SCHEME, &scheme); in tool_header_cb()
133 scheme = proto_token(scheme); in tool_header_cb()
134 if((scheme == proto_http || scheme == proto_https)) { in tool_header_cb()
284 (scheme == proto_http || scheme == proto_https || in tool_header_cb()
285 scheme == proto_rtsp || scheme == proto_file)) { in tool_header_cb()
433 char *copyloc = NULL, *locurl = NULL, *scheme = NULL, *finalurl = NULL; in write_linked_location() local
483 if(curl_url_get(u, CURLUPART_SCHEME, &scheme, 0)) in write_linked_location()
486 if(!strcmp("http", scheme) || in write_linked_location()
487 !strcmp("https", scheme) || in write_linked_location()
488 !strcmp("ftp", scheme) || in write_linked_location()
489 !strcmp("ftps", scheme)) { in write_linked_location()
506 curl_free(scheme); in write_linked_location()