Lines Matching refs:r
50 r = curl.http_download(urls=[urln], extra_args=['--http3-only'])
51 r.check_response(count=1, http_status=200)
52 assert r.stats[0]['http_version'] == '3'
60 r = curl.http_download(urls=[urln], extra_args=['--http3-only'])
61 r.check_response(exitcode=7, http_status=None)
69 r = curl.http_download(urls=[urln], extra_args=['--http3'])
70 r.check_response(count=1, http_status=200)
71 assert r.stats[0]['http_version'] == '2'
79 r = curl.http_download(urls=[urln], extra_args=['--http3'])
80 r.check_response(count=1, http_status=200)
81 assert r.stats[0]['http_version'] == '1.1'
87 r = curl.http_download(urls=[urln])
88 r.check_response(count=1, http_status=200)
89 assert r.stats[0]['time_connect'] > 0.0
90 assert r.stats[0]['time_appconnect'] > 0.0
96 r = curl.http_download(urls=[urln], extra_args=[
99 r.check_response(count=1, http_status=0, exitcode=False)
100 assert r.stats[0]['time_connect'] > 0.0 # was tcp connected
101 assert r.stats[0]['time_appconnect'] == 0 # but not SSL verified
107 r = curl.http_download(urls=[urln], extra_args=[
110 r.check_response(count=1, http_status=None, exitcode=False)
111 assert r.stats[0]['time_connect'] == 0 # no one should have listened
112 assert r.stats[0]['time_appconnect'] == 0 # did not happen either