Lines Matching refs:r
61 r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True)
62 r.check_stats(count=count, http_status=200, exitcode=0,
65 for idx, s in enumerate(r.stats):
66 self.check_stat(idx, s, r, dl_size=30, ul_size=0)
76 r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True, extra_args=[
79 r.check_stats(count=count, http_status=200, exitcode=0,
82 for idx, s in enumerate(r.stats):
83 self.check_stat(idx, s, r, dl_size=30, ul_size=0)
94 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto,
98 r.check_response(count=count, http_status=200)
99 r.check_stats(count=count, http_status=200, exitcode=0,
102 for idx, s in enumerate(r.stats):
103 self.check_stat(idx, s, r, dl_size=fsize, ul_size=fsize)
111 r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True)
112 r.check_stats(count=count, http_status=200, exitcode=0,
114 for idx, s in enumerate(r.stats):
115 self.check_stat(idx, s, r, dl_size=30, ul_size=0)
117 def check_stat(self, idx, s, r, dl_size=None, ul_size=None): argument