Lines Matching refs:f
65 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo?id=[0-0]'
80 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo?id=[0-0]'
81 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto)
97 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo?id=[0-{count-1}]'
115 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo?id=[0-{count-1}]'
133 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo?id=[0-{count-1}]'
134 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto)
152 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo?id=[0-{count-1}]'
153 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto)
172 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/put?id=[0-{count-1}]'
177 assert respdata == [f'{len(indata)}']
185 url = f'https://localhost:{env.https_port}/curltest/put?id=[0-{count-1}]'
188 pytest.skip(f'example client not built: {client.name}')
190 '-n', f'{count}', '-S', f'{upload_size}', '-V', proto, url
193 self.check_downloads(client, [f"{upload_size}"], count)
201 url = f'https://localhost:{env.https_port}/curltest/put?id=[0-{count-1}]'
204 pytest.skip(f'example client not built: {client.name}')
206 '-n', f'{count}', '-S', f'{upload_size}', '-R', '-V', proto, url
209 self.check_downloads(client, [f"{upload_size}"], count)
217 url = f'https://localhost:{env.https_port}/curltest/echo?id=[0-{count-1}]'
220 pytest.skip(f'example client not built: {client.name}')
222 '-n', f'{count}', '-M', 'POST', '-S', f'{upload_size}', '-R', '-V', proto, url
238 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo?id=[0-{count-1}]'
257 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo?id=[0-{count-1}]'
258 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto,
273 url = f'https://{env.authority_for(env.domain1, proto)}'\
274 f'/curltest/tweak?status=400&delay=5ms&chunks=1&body_error=reset&id=[0-{count-1}]'
275 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto,
290 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/put?id=[0-{count-1}]'
294 exp_data = [f'{os.path.getsize(fdata)}']
310 …url = f'https://{env.authority_for(env.domain1, proto)}/curltest/put?id=[0-{count-1}]&chunk_delay=…
314 exp_data = [f'{os.path.getsize(fdata)}']
330 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/put?id=[0-{count-1}]'
340 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/put'
343 '--resolve', f'{env.authority_for(env.domain1, proto)}:127.0.0.1',
351 '--form', f'fileSource=@{fdata};type=application/pdf',
353 assert r.exit_code == 0, f'{r}'
362 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/put?chunk_delay=2ms'
366 '--resolve', f'{env.authority_for(env.domain1, proto)}:127.0.0.1',
374 '--form', f'fileSource=@{fdata};type=application/pdf',
384 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/put'
388 '--resolve', f'{env.authority_for(env.domain1, proto)}:127.0.0.1',
392 '--data-binary', f'@{fdata}',
402 url = f'http://{env.domain1}:{env.http_port}/curltest/echo?id=[0-0]'
403 r = curl.http_upload(urls=[url], data=f'@{fdata}', extra_args=[
408 assert r.stats[0]['http_version'] == '1.1', f'{r}'
423 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo{redir}?id=[0-0]'
440 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo307?id=[0-0]'
456 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo?id=[0-0]'
471 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo?id=[0-0]'
472 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto, extra_args=[
489 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo?id=[0-0]'
490 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto, extra_args=[
516 extra_args.extend(['-H', f'x{i:02d}: {"y"*1019}'])
517 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo?id=[0-0]'
518 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto, extra_args=extra_args)
534 assert False, f'download {dfile} differs:\n{diff}'
546 pytest.skip(f'example client not built: {client.name}')
547 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo?id=[0-0]&die_after=0'
567 pytest.skip(f'example client not built: {client.name}')
568 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo?id=[0-0]&just_die=1'
584 pytest.skip(f'example client not built: {client.name}')
585 … url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo?id=[0-0]&die_after_100=1'
602 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/put?'\
603 f'id=[0-{count-1}]&max_upload={max_upload}'
618 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/put?id=[0-0]'
621 '--limit-rate', f'{speed_limit}'
624 assert r.responses[0]['header']['received-length'] == f'{up_len}', f'{r.responses[0]}'
626 assert (speed_limit * 0.5) <= up_speed <= (speed_limit * 1.5), f'{r.stats[0]}'
637 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo?id=[0-0]'
638 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto,
640 '--limit-rate', f'{speed_limit}'
644 assert (speed_limit * 0.5) <= up_speed <= (speed_limit * 1.5), f'{r.stats[0]}'
652 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/put?id=[0-0]'\
653 f'&read_delay={read_delay}s'
655 '--expect100-timeout', f'{read_delay+1}'
665 url = f'https://{env.authority_for(env.domain1, proto)}/curltest/put?id=[0-0]'\
666 f'&read_delay={read_delay}s'
668 '--expect100-timeout', f'{read_delay-1}'
694 url = f'https://{env.domain1}:{port}/curltest/put?id=[0-{count-1}]'
697 pytest.skip(f'example client not built: {client.name}')
699 '-n', f'{count}',
703 '-S', f'{upload_size}',
704 '-r', f'{env.domain1}:{port}:127.0.0.1',
708 self.check_downloads(client, [f"{upload_size}"], count)
714 assert earlydata[0] == 0, f'{earlydata}'
715 assert earlydata[1] == exp_early, f'{earlydata}'
728 assert not diff, f'download {dfile} differs:\n{diff}'