1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP/3 6HTTPS 7-w 8%header 9</keywords> 10</info> 11 12# 13# Server-side 14<reply> 15<data nocheck="yes" crlf="yes"> 16HTTP/1.1 200 OK 17Date: Tue, 09 Nov 2010 14:49:00 GMT 18Content-Length: 6 19Connection: close 20Content-Type: text/html 21Funny-head: yesyes 22 23-foo- 24</data> 25</reply> 26 27# 28# Client-side 29<client> 30<features> 31http/3 32nghttpx-h3 33headers-api 34</features> 35<server> 36http 37http/3 38</server> 39<name> 40HTTP/3 header-api 41</name> 42<setenv> 43</setenv> 44<command> 45-w '%{header_json}\n' --http3-only --cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --resolve localhost:%HTTP3PORT:%HOSTIP https://localhost:%HTTP3PORT/%TESTNUMBER 46</command> 47 48</client> 49 50# 51# Verify data after the test has been "shot" 52<verify> 53<stdout crlf="yes"> 54HTTP/3 200 55date: Tue, 09 Nov 2010 14:49:00 GMT 56content-length: 6 57content-type: text/html 58funny-head: yesyes 59via: 1.1 nghttpx 60 61-foo- 62{"date":["Tue, 09 Nov 2010 14:49:00 GMT"], 63"content-length":["6"], 64"content-type":["text/html"], 65"funny-head":["yesyes"], 66"via":["1.1 nghttpx"] 67} 68</stdout> 69</verify> 70</testcase> 71