xref: /curl/tests/data/test2406 (revision beeeb85a)
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
31http/2
32SSL
33</features>
34<server>
35http/2
36</server>
37<name>
38HTTP/2 over HTTPS with -f
39</name>
40<setenv>
41</setenv>
42<command>
43-k --http2 -f "https://%HOSTIP:%HTTP2TLSPORT/%TESTNUMBER"
44</command>
45
46</client>
47
48#
49# Verify data after the test has been "shot"
50<verify>
51<stdout crlf="yes">
52HTTP/2 404
53date: Tue, 09 Nov 2010 14:49:00 GMT
54content-length: 6
55content-type: text/html
56funny-head: yesyes
57server: nghttpx
58via: 1.1 nghttpx
59
60</stdout>
61<errorcode>
6222
63</errorcode>
64</verify>
65</testcase>
66