xref: /curl/tests/data/test2406 (revision d54b0adb)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP/2
7HTTPS
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14<data nocheck="yes">
15HTTP/1.1 404 nope
16Date: Tue, 09 Nov 2010 14:49:00 GMT
17Content-Length: 6
18Connection: close
19Content-Type: text/html
20Funny-head: yesyes
21
22-foo-
23</data>
24</reply>
25
26#
27# Client-side
28<client>
29<features>
30debug
31h2c
32SSL
33</features>
34<server>
35http
36http/2
37</server>
38<name>
39HTTP/2 with -f
40</name>
41<setenv>
42</setenv>
43<command>
44-k --http2 -f "https://%HOSTIP:%HTTP2TLSPORT/%TESTNUMBER"
45</command>
46
47</client>
48
49#
50# Verify data after the test has been "shot"
51<verify>
52<stdout crlf="yes">
53HTTP/2 404
54date: Tue, 09 Nov 2010 14:49:00 GMT
55content-length: 6
56content-type: text/html
57funny-head: yesyes
58server: nghttpx
59via: 1.1 nghttpx
60
61</stdout>
62<errorcode>
6322
64</errorcode>
65</verify>
66</testcase>
67