xref: /curl/tests/data/test2400 (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 200 OK
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
36http/2
37</server>
38<name>
39HTTP/2 GET over HTTPS
40</name>
41<setenv>
42</setenv>
43<command>
44-k --http2 "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 200
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-foo-
62</stdout>
63</verify>
64</testcase>
65