Searched refs:mkrequest (Results 1 – 1 of 1) sorted by relevance
/openbmc/phosphor-misc/http-redirect/ |
H A D | test.awk | 77 function mkrequest(method, path, version) function 97 test(505, "", mkrequest(method, path, "HTTP/1"), headers) 98 test(505, "", mkrequest(method, path, "HTTP/2.0"), headers) 99 test(505, "", mkrequest(method, path, "http/1.1"), headers) 101 test(400, "", mkrequest(method, path, "HTTP/1.1"), junk) 102 test(400, "", mkrequest(method, path, "HTTP/1.1"), headers) 103 test(404, "", mkrequest(method, "/abc", "HTTP/1.1"), junk) 116 test(501, "", mkrequest(methods[m], path, version), headers) 130 request = mkrequest(method, path, version) 135 test(308, expect, mkrequest("HEAD", path, version), headers) [all …]
|