• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP/2
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>
30http/2
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<protocol>
43GET /1800 HTTP/1.1
44Host: %HOSTIP:%HTTPPORT
45User-Agent: curl/%VERSION
46Accept: */*
47Connection: Upgrade, HTTP2-Settings
48Upgrade: %H2CVER
49HTTP2-Settings: AAMAAABkAAQCAAAAAAIAAAAA
50
51</protocol>
52</verify>
53</testcase>
54