Home
last modified time | relevance | path

Searched refs:urls (Results 1 – 25 of 32) sorted by relevance

12

/curl/docs/examples/
H A Dmaxconnects.c38 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 Dmultithread.c44 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 D10-at-a-time.c33 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 Dthreaded-ssl.c48 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 Dsmooth-gtk-thread.c51 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 Dtest_06_eyeballs.py50 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 Dtest_14_auth.py54 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 Dtest_10_proxy.py65 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 Dtest_13_proxy_auth.py64 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 Dtest_05_errors.py60 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 Dtest_12_reuse.py53 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 Dtest_02_download.py67 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 Dtest_31_vsftpds.py84 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 Dtest_07_upload.py66 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 Dtest_30_vsftpd.py77 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 Dtest_19_shutdown.py61 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 Dtest_04_stuttered.py59 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 Dtest_08_caddy.py79 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 Dtest_18_methods.py57 r = curl.http_delete(urls=[url], alpn_proto=proto)
70 r = curl.http_delete(urls=[url], alpn_proto=proto)
H A Dtest_11_unix.py105 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 Dtest_03_goaway.py59 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 Dtest_16_info.py61 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 Dtest_20_websockets.py50 r = curl.http_download(urls=[url])
84 r = curl.http_download(urls=[url])
/curl/tests/http/testenv/
H A Dcurl.py588 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 Dmk-ca-bundle.pl52 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

Completed in 42 milliseconds

12