/curl/docs/examples/ |
H A D | maxconnects.c | 38 const char *urls[] = { "https://example.com", in main() local 51 while(urls[i]) { in main() 52 curl_easy_setopt(curl, CURLOPT_URL, urls[i]); in main()
|
H A D | multithread.c | 44 const char * const urls[NUMT]= { variable 82 (void *)urls[i]); in main() 86 fprintf(stderr, "Thread %d, gets %s\n", i, urls[i]); in main()
|
H A D | 10-at-a-time.c | 33 static const char *urls[] = { variable 84 #define NUM_URLS sizeof(urls)/sizeof(char *) 98 curl_easy_setopt(eh, CURLOPT_URL, urls[i]); in add_transfer() 99 curl_easy_setopt(eh, CURLOPT_PRIVATE, urls[i]); in add_transfer()
|
H A D | threaded-ssl.c | 48 const char * const urls[]= { variable 85 (void *)urls[i]); in main() 89 fprintf(stderr, "Thread %d, gets %s\n", i, urls[i]); in main()
|
H A D | smooth-gtk-thread.c | 51 const char * const urls[]= { variable 70 FILE *outfile = fopen(urls[j], "wb"); in run_one() 98 http = g_strdup_printf("https://example.com/%s", urls[i]); in pull_one_url() 136 fprintf(stderr, "Thread %d, gets %s\n", i, urls[i]); in create_thread()
|
/curl/tests/http/ |
H A D | test_06_eyeballs.py | 50 r = curl.http_download(urls=[urln], extra_args=['--http3-only']) 60 r = curl.http_download(urls=[urln], extra_args=['--http3-only']) 69 r = curl.http_download(urls=[urln], extra_args=['--http3']) 79 r = curl.http_download(urls=[urln], extra_args=['--http3']) 87 r = curl.http_download(urls=[urln]) 96 r = curl.http_download(urls=[urln], extra_args=[ 107 r = curl.http_download(urls=[urln], extra_args=[
|
H A D | test_14_auth.py | 54 r = curl.http_download(urls=[url], alpn_proto=proto) 64 r = curl.http_download(urls=[url], alpn_proto=proto, extra_args=[ 77 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto, extra_args=[ 91 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto, extra_args=[ 112 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto, extra_args=[ 131 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto, extra_args=[
|
H A D | test_10_proxy.py | 65 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True, 79 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True, 103 r = curl.http_upload(urls=[url], data=f'@{srcfile}', alpn_proto=proto, 117 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True, 129 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True, 140 r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True, 157 r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True, 185 r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True, 216 r = curl.http_upload(urls=[url], data=f'@{srcfile}', alpn_proto=proto, 260 r1 = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True, [all …]
|
H A D | test_13_proxy_auth.py | 64 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True, 74 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True, 85 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True, 97 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True, 105 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True, 115 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True, 130 r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True, 149 r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True,
|
H A D | test_05_errors.py | 60 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[ 83 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[ 99 r = curl.http_download(urls=[urln], alpn_proto=proto) 104 r = curl.http_download(urls=[urln], alpn_proto=proto) 127 r = curl.http_download(urls=[url], alpn_proto=proto, extra_args=[
|
H A D | test_12_reuse.py | 53 r = curl.http_download(urls=[urln], alpn_proto=proto) 73 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[ 94 r = curl.http_download(urls=[urln], with_stats=True, extra_args=[ 116 r = curl.http_download(urls=[urln], with_stats=True, extra_args=[ 138 r = curl.http_download(urls=[urln], with_stats=True, extra_args=[
|
H A D | test_02_download.py | 67 r = curl.http_download(urls=[url], alpn_proto=proto) 77 r = curl.http_download(urls=[url], alpn_proto=proto) 89 r = curl.http_download(urls=[urln], alpn_proto=proto) 102 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[ 124 r = curl.http_download(urls=[urln], alpn_proto=proto) 157 r = curl.http_download(urls=[urln], alpn_proto=proto, 174 r = curl.http_download(urls=[urln], alpn_proto=proto, 190 r = curl.http_download(urls=[urln], alpn_proto=proto) 216 r = curl.http_download(urls=[urln], alpn_proto=proto) 568 r = curl.http_download(urls=[urln], extra_args=[ [all …]
|
H A D | test_31_vsftpds.py | 84 r = curl.ftp_ssl_get(urls=[url], with_stats=True) 98 r = curl.ftp_ssl_get(urls=[url], with_stats=True) 110 r = curl.ftp_ssl_get(urls=[url], with_stats=True) 122 r = curl.ftp_ssl_get(urls=[url], with_stats=True, extra_args=[ 138 r = curl.ftp_ssl_upload(urls=[url], fupload=f'{srcfile}', with_stats=True) 153 r = curl.ftp_ssl_get(urls=[url], with_stats=True, with_tcpdump=True) 169 … r = curl.ftp_ssl_upload(urls=[url], fupload=f'{srcfile}', with_stats=True, with_tcpdump=True) 187 r = curl.ftp_ssl_upload(urls=[url], fupload=f'{srcfile}', with_stats=True, 203 r = curl.ftp_ssl_get(urls=[url], with_stats=True, extra_args=[ 217 r = curl.ftp_ssl_upload(urls=[url], fupload=f'{srcfile}', with_stats=True, extra_args=[ [all …]
|
H A D | test_07_upload.py | 66 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto) 98 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto) 116 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto, 173 r = curl.http_put(urls=[url], data=indata, alpn_proto=proto) 239 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto, 291 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto, 311 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto, 331 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto) 457 r = curl.http_form(urls=[url], alpn_proto=proto, form={ 604 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto, [all …]
|
H A D | test_30_vsftpd.py | 77 r = curl.ftp_get(urls=[url], with_stats=True) 91 r = curl.ftp_get(urls=[url], with_stats=True) 103 r = curl.ftp_get(urls=[url], with_stats=True) 115 r = curl.ftp_get(urls=[url], with_stats=True, extra_args=[ 131 r = curl.ftp_upload(urls=[url], fupload=f'{srcfile}', with_stats=True) 146 r = curl.ftp_get(urls=[url], with_stats=True, with_tcpdump=True) 161 r = curl.ftp_upload(urls=[url], fupload=f'{srcfile}', with_stats=True, with_tcpdump=True) 172 r = curl.ftp_get(urls=[url], with_stats=True, extra_args=[ 186 r = curl.ftp_upload(urls=[url], fupload=f'{srcfile}', with_stats=True, extra_args=[
|
H A D | test_19_shutdown.py | 61 r = curl.http_download(urls=[url], alpn_proto=proto, with_tcpdump=True, extra_args=[ 79 r = curl.http_download(urls=[url], alpn_proto=proto, with_tcpdump=True, extra_args=[ 98 r = curl.http_download(urls=[url], alpn_proto=proto) 143 r = curl.http_download(urls=[url], alpn_proto=proto, extra_args=[ 168 r = curl.http_download(urls=[url], alpn_proto=proto, with_tcpdump=True, extra_args=[
|
H A D | test_04_stuttered.py | 59 r = curl.http_download(urls=[urln], alpn_proto=proto) 77 r = curl.http_download(urls=[url1, urln], alpn_proto=proto, 99 r = curl.http_download(urls=[url1, urln], alpn_proto=proto, 121 r = curl.http_download(urls=[url1, urln], alpn_proto=proto,
|
H A D | test_08_caddy.py | 79 r = curl.http_download(urls=[url], alpn_proto=proto) 93 r = curl.http_download(urls=[urln], alpn_proto=proto) 107 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[ 130 r = curl.http_download(urls=[urln], alpn_proto=proto) 146 r = curl.http_download(urls=[urln], alpn_proto=proto) 165 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[ 187 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto, 206 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto)
|
H A D | test_18_methods.py | 57 r = curl.http_delete(urls=[url], alpn_proto=proto) 70 r = curl.http_delete(urls=[url], alpn_proto=proto)
|
H A D | test_11_unix.py | 105 r = curl.http_download(urls=[url], with_stats=True, 116 r = curl.http_download(urls=[url], with_stats=True, 127 r = curl.http_download(urls=[url], with_stats=True,
|
H A D | test_03_goaway.py | 59 self.r = curl.http_download(urls=[urln], alpn_proto=proto) 95 self.r = curl.http_download(urls=[urln], alpn_proto=proto) 126 self.r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[
|
H A D | test_16_info.py | 61 r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True) 76 r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True, extra_args=[ 94 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto, 111 r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True)
|
H A D | test_20_websockets.py | 50 r = curl.http_download(urls=[url]) 84 r = curl.http_download(urls=[url])
|
/curl/tests/http/testenv/ |
H A D | curl.py | 588 def http_delete(self, urls: List[str], 652 def ftp_get(self, urls: List[str], 681 def ftp_ssl_get(self, urls: List[str], 692 return self.ftp_get(urls=urls, with_stats=with_stats, 697 def ftp_upload(self, urls: List[str], 739 return self.ftp_upload(urls=urls, fupload=fupload, updata=updata, 830 urls=urls, timeout=timeout, options=options, insecure=insecure, 844 if not isinstance(urls, list): 845 urls = [urls] 862 for url in urls: [all …]
|
/curl/scripts/ |
H A D | mk-ca-bundle.pl | 52 my %urls = ( 129 if(defined($urls{$opt_d})) { 130 $url = $urls{$opt_d}; 176 …print "\t\t ", join( ", ", map { ( $_ =~ m/$opt_d/ ) ? "$_ (default)" : "$_" } sort keys %urls …
|