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