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.py52 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 Dtest_14_auth.py56 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 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.py67 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 Dtest_05_errors.py62 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 Dtest_02_download.py66 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 Dtest_12_reuse.py56 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 Dtest_07_upload.py64 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 Dtest_08_caddy.py75 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 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=[
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_04_stuttered.py60 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 Dtest_19_shutdown.py65 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 Dtest_18_methods.py61 r = curl.http_delete(urls=[url], alpn_proto=proto)
74 r = curl.http_delete(urls=[url], alpn_proto=proto)
H A Dtest_11_unix.py102 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 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.py64 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 Dtest_20_websockets.py50 r = curl.http_download(urls=[url])
84 r = curl.http_download(urls=[url])
/curl/tests/http/testenv/
H A Dcurl.py590 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 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 59 milliseconds

12