test1800 (769B)
1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP/2 6 </keywords> 7 </info> 8 9 # Server-side 10 <reply> 11 <data> 12 HTTP/1.1 200 Ignored! 13 Date: Tue, 09 Nov 2010 14:49:00 GMT 14 Server: test-server/fake 15 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 16 Content-Length: 6 17 Connection: close 18 Content-Type: text/html 19 20 -foo- 21 </data> 22 </reply> 23 24 # Client-side 25 <client> 26 <features> 27 h2c 28 </features> 29 <server> 30 http 31 </server> 32 <features> 33 http/2 34 </features> 35 <name> 36 HTTP/2 upgrade refused 37 </name> 38 <command> 39 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --http2 40 </command> 41 42 </client> 43 44 <verify> 45 <protocol> 46 GET /%TESTNUMBER HTTP/1.1 47 Host: %HOSTIP:%HTTPPORT 48 User-Agent: curl/%VERSION 49 Accept: */* 50 Connection: Upgrade, HTTP2-Settings 51 Upgrade: %H2CVER 52 HTTP2-Settings: AAMAAABkAAQAAQAAAAIAAAAA 53 54 </protocol> 55 </verify> 56 </testcase>