Lines Matching refs:r
52 def get_tunnel_proto_used(self, r: ExecResult):
53 for line in r.trace_lines:
54 m = re.match(r'.* CONNECT tunnel: (\S+) negotiated$', line)
64 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True,
66 r.check_response(count=1, http_status=407)
74 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True,
76 r.check_response(count=1, http_status=200)
85 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True,
87 r.check_response(count=1, http_status=407)
97 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True,
99 r.check_response(count=1, http_status=200)
105 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True,
108 r.check_response(exitcode=56, http_status=None)
115 r = curl.http_download(urls=[url], alpn_proto='http/1.1', with_stats=True,
117 r.check_response(count=1, http_status=200)
130 r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True,
133 r.check_response(exitcode=56, http_status=None)
134 assert self.get_tunnel_proto_used(r) == 'HTTP/2' \
149 r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True,
151 r.check_response(count=1, http_status=200,
153 assert self.get_tunnel_proto_used(r) == 'HTTP/2' \