/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 | 52 r = curl.http_download(urls=[urln], extra_args=['--http3-only']) 62 r = curl.http_download(urls=[urln], extra_args=['--http3-only']) 71 r = curl.http_download(urls=[urln], extra_args=['--http3']) 81 r = curl.http_download(urls=[urln], extra_args=['--http3']) 89 r = curl.http_download(urls=[urln]) 98 r = curl.http_download(urls=[urln], extra_args=[ 109 r = curl.http_download(urls=[urln], extra_args=[
|
H A D | test_14_auth.py | 56 r = curl.http_download(urls=[url], alpn_proto=proto) 66 r = curl.http_download(urls=[url], alpn_proto=proto, extra_args=[ 79 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto, extra_args=[ 93 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto, extra_args=[ 114 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto, extra_args=[ 133 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 | 67 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True, 77 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True, 88 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True, 100 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True, 108 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True, 118 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True, 133 r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True, 152 r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True,
|
H A D | test_05_errors.py | 62 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[ 85 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[ 101 r = curl.http_download(urls=[urln], alpn_proto=proto) 106 r = curl.http_download(urls=[urln], alpn_proto=proto) 129 r = curl.http_download(urls=[url], alpn_proto=proto, extra_args=[
|
H A D | test_02_download.py | 66 r = curl.http_download(urls=[url], alpn_proto=proto) 76 r = curl.http_download(urls=[url], alpn_proto=proto) 88 r = curl.http_download(urls=[urln], alpn_proto=proto) 101 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[ 123 r = curl.http_download(urls=[urln], alpn_proto=proto) 156 r = curl.http_download(urls=[urln], alpn_proto=proto, 175 r = curl.http_download(urls=[urln], alpn_proto=proto, 191 r = curl.http_download(urls=[urln], alpn_proto=proto) 217 r = curl.http_download(urls=[urln], alpn_proto=proto) 576 r = curl.http_download(urls=[urln], extra_args=[ [all …]
|
H A D | test_12_reuse.py | 56 r = curl.http_download(urls=[urln], alpn_proto=proto) 76 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[ 97 r = curl.http_download(urls=[urln], with_stats=True, extra_args=[ 119 r = curl.http_download(urls=[urln], with_stats=True, extra_args=[ 141 r = curl.http_download(urls=[urln], with_stats=True, extra_args=[
|
H A D | test_07_upload.py | 64 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto) 96 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto) 114 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto, 171 r = curl.http_put(urls=[url], data=indata, alpn_proto=proto) 237 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto, 289 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto, 309 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto, 329 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto) 401 r = curl.http_upload(urls=[url], data=f'@{fdata}', extra_args=[ 455 r = curl.http_form(urls=[url], alpn_proto=proto, form={ [all …]
|
H A D | test_08_caddy.py | 75 r = curl.http_download(urls=[url], alpn_proto=proto) 89 r = curl.http_download(urls=[urln], alpn_proto=proto) 103 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[ 126 r = curl.http_download(urls=[urln], alpn_proto=proto) 142 r = curl.http_download(urls=[urln], alpn_proto=proto) 161 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[ 183 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto, 202 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto)
|
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=[
|
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_04_stuttered.py | 60 r = curl.http_download(urls=[urln], alpn_proto=proto) 78 r = curl.http_download(urls=[url1, urln], alpn_proto=proto, 100 r = curl.http_download(urls=[url1, urln], alpn_proto=proto, 122 r = curl.http_download(urls=[url1, urln], alpn_proto=proto,
|
H A D | test_19_shutdown.py | 65 r = curl.http_download(urls=[url], alpn_proto=proto, with_tcpdump=True, extra_args=[ 83 r = curl.http_download(urls=[url], alpn_proto=proto, with_tcpdump=True, extra_args=[ 102 r = curl.http_download(urls=[url], alpn_proto=proto) 145 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_18_methods.py | 61 r = curl.http_delete(urls=[url], alpn_proto=proto) 74 r = curl.http_delete(urls=[url], alpn_proto=proto)
|
H A D | test_11_unix.py | 102 r = curl.http_download(urls=[url], with_stats=True, 113 r = curl.http_download(urls=[url], with_stats=True, 124 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 | 64 r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True) 79 r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True, extra_args=[ 97 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto, 114 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 | 590 def http_delete(self, urls: List[str], 628 return self._raw(urls, intext=data, 654 def ftp_get(self, urls: List[str], 683 def ftp_ssl_get(self, urls: List[str], 694 return self.ftp_get(urls=urls, with_stats=with_stats, 729 return self.ftp_upload(urls=urls, fupload=fupload, 821 urls=urls, timeout=timeout, options=options, insecure=insecure, 837 if not isinstance(urls, list): 838 urls = [urls] 856 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 …
|