1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6globbing 7{} list 8</keywords> 9</info> 10# 11# Server-side 12<reply> 13<data nocheck="yes"> 14HTTP/1.1 200 OK 15Date: Tue, 09 Nov 2010 14:49:00 GMT 16Server: test-server/fake 17Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 18ETag: "21025-dc7-39462498" 19Accept-Ranges: bytes 20Content-Length: 6 21Content-Type: text/html 22Funny-head: yesyes 23 24-foo- 25</data> 26<data1> 27HTTP/2 200 OK 28Content-Type: text/html 29Funny-head: swsclose 30Connection: close 31 32crap data 33</data1> 34</reply> 35 36# 37# Client-side 38<client> 39<features> 40http/2 41http 42</features> 43<server> 44http 45</server> 46<name> 47Reject HTTP/1.1 to HTTP/2 switch on the same connection 48</name> 49 <command option="no-output"> 50"http://%HOSTIP:%HTTPPORT/{%TESTNUMBER,%TESTNUMBER0001}" -o "%LOGDIR/dumpit#1.dump" 51</command> 52</client> 53 54# 55# Verify data after the test has been "shot" 56<verify> 57<protocol> 58GET /%TESTNUMBER HTTP/1.1 59Host: %HOSTIP:%HTTPPORT 60User-Agent: curl/%VERSION 61Accept: */* 62 63GET /%TESTNUMBER0001 HTTP/1.1 64Host: %HOSTIP:%HTTPPORT 65User-Agent: curl/%VERSION 66Accept: */* 67 68</protocol> 69# curl: (1) Version mismatch (from HTTP/1 to HTTP/2) 70<errorcode> 711 72</errorcode> 73</verify> 74</testcase> 75