Lines Matching refs:r
66 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto)
67 r.check_stats(count=1, http_status=200, exitcode=0)
81 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto)
82 r.check_stats(count=1, http_status=200, exitcode=0)
98 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto)
99 r.check_stats(count=count, http_status=200, exitcode=0)
116 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto,
118 r.check_stats(count=count, http_status=200, exitcode=0)
134 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto)
135 r.check_response(count=count, http_status=200)
137 r.check_stats(count=count, http_status=200, exitcode=0)
153 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto)
154 r.check_stats(count=count, http_status=200, exitcode=0)
173 r = curl.http_put(urls=[url], data=indata, alpn_proto=proto)
174 r.check_stats(count=count, http_status=200, exitcode=0)
189 r = client.run(args=[
192 r.check_exit_code(0)
205 r = client.run(args=[
208 r.check_exit_code(0)
221 r = client.run(args=[
224 r.check_exit_code(0)
239 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto,
241 r.check_stats(count=count, http_status=200, exitcode=0)
258 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto,
260 r.check_response(count=count, http_status=200)
275 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto,
278 r.check_stats(count=count, exitcode=exp_exit)
291 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto,
293 r.check_stats(count=count, http_status=200, exitcode=0)
295 r.check_response(count=count, http_status=200)
311 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto,
313 r.check_stats(count=count, http_status=200, exitcode=0)
315 r.check_response(count=count, http_status=200)
331 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto)
332 r.check_stats(count=count, http_status=200, exitcode=0)
342 r = curl.run_direct(with_stats=True, args=[
353 assert r.exit_code == 0, f'{r}'
354 r.check_stats(1, 404)
364 r = curl.run_direct(with_stats=True, args=[
376 assert r.exit_code == 0, r.dump_logs()
377 r.check_stats(1, 200)
386 r = curl.run_direct(with_stats=True, args=[
395 assert r.exit_code == 0, r.dump_logs()
396 r.check_stats(1, 200)
403 r = curl.http_upload(urls=[url], data=f'@{fdata}', extra_args=[
406 r.check_response(count=1, http_status=200)
408 assert r.stats[0]['http_version'] == '1.1', f'{r}'
424 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto, extra_args=[
427 r.check_response(count=1, http_status=200)
441 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto, extra_args=[
444 r.check_response(count=1, http_status=200)
457 r = curl.http_form(urls=[url], alpn_proto=proto, form={
460 r.check_stats(count=1, http_status=200, exitcode=0)
472 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto, extra_args=[
475 r.check_stats(count=1, http_status=200, exitcode=0)
490 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto, extra_args=[
493 r.check_stats(count=1, http_status=200, exitcode=0)
518 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto, extra_args=extra_args)
519 r.check_stats(count=1, http_status=200, exitcode=0)
548 r = client.run(['-V', proto, url])
549 if r.exit_code == 18: # PARTIAL_FILE is always ok
552 r.check_exit_code(92) # CURLE_HTTP2_STREAM also ok
554 r.check_exit_code(95) # CURLE_HTTP3 also ok
556 r.check_exit_code(18) # will fail as it should
569 r = client.run(['-V', proto, url])
573 r.check_exit_code(exp_code) # GOT_NOTHING
586 r = client.run(['-V', proto, url])
590 r.check_exit_code(exp_code) # GOT_NOTHING
604 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto,
606 r.check_stats(count=count, http_status=413, exitcode=0)
619 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto,
623 r.check_response(count=count, http_status=200)
624 assert r.responses[0]['header']['received-length'] == f'{up_len}', f'{r.responses[0]}'
625 up_speed = r.stats[0]['speed_upload']
638 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto,
642 r.check_response(count=count, http_status=200)
643 up_speed = r.stats[0]['speed_upload']
654 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto, extra_args=[
657 r.check_stats(count=1, http_status=200, exitcode=0)
667 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto, extra_args=[
670 r.check_stats(count=1, http_status=200, exitcode=0)
698 r = client.run(args=[
707 r.check_exit_code(0)
710 for line in r.trace_lines:
711 m = re.match(r'^\[t-(\d+)] EarlyData: (\d+)', line)