xref: /aosp_15_r20/external/curl/tests/data/test2406 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard WorkerHTTP
5*6236dae4SAndroid Build Coastguard WorkerHTTP GET
6*6236dae4SAndroid Build Coastguard WorkerHTTP/2
7*6236dae4SAndroid Build Coastguard WorkerHTTPS
8*6236dae4SAndroid Build Coastguard Worker</keywords>
9*6236dae4SAndroid Build Coastguard Worker</info>
10*6236dae4SAndroid Build Coastguard Worker
11*6236dae4SAndroid Build Coastguard Worker#
12*6236dae4SAndroid Build Coastguard Worker# Server-side
13*6236dae4SAndroid Build Coastguard Worker<reply>
14*6236dae4SAndroid Build Coastguard Worker<data nocheck="yes">
15*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 404 nope
16*6236dae4SAndroid Build Coastguard WorkerDate: Tue, 09 Nov 2010 14:49:00 GMT
17*6236dae4SAndroid Build Coastguard WorkerContent-Length: 6
18*6236dae4SAndroid Build Coastguard WorkerConnection: close
19*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html
20*6236dae4SAndroid Build Coastguard WorkerFunny-head: yesyes
21*6236dae4SAndroid Build Coastguard Worker
22*6236dae4SAndroid Build Coastguard Worker-foo-
23*6236dae4SAndroid Build Coastguard Worker</data>
24*6236dae4SAndroid Build Coastguard Worker</reply>
25*6236dae4SAndroid Build Coastguard Worker
26*6236dae4SAndroid Build Coastguard Worker#
27*6236dae4SAndroid Build Coastguard Worker# Client-side
28*6236dae4SAndroid Build Coastguard Worker<client>
29*6236dae4SAndroid Build Coastguard Worker<features>
30*6236dae4SAndroid Build Coastguard WorkerDebug
31*6236dae4SAndroid Build Coastguard Workerhttp/2
32*6236dae4SAndroid Build Coastguard WorkerSSL
33*6236dae4SAndroid Build Coastguard Worker</features>
34*6236dae4SAndroid Build Coastguard Worker<server>
35*6236dae4SAndroid Build Coastguard Workerhttp/2
36*6236dae4SAndroid Build Coastguard Worker</server>
37*6236dae4SAndroid Build Coastguard Worker<name>
38*6236dae4SAndroid Build Coastguard WorkerHTTP/2 over HTTPS with -f
39*6236dae4SAndroid Build Coastguard Worker</name>
40*6236dae4SAndroid Build Coastguard Worker<setenv>
41*6236dae4SAndroid Build Coastguard Worker</setenv>
42*6236dae4SAndroid Build Coastguard Worker<command>
43*6236dae4SAndroid Build Coastguard Worker-k --http2 -f "https://%HOSTIP:%HTTP2TLSPORT/%TESTNUMBER"
44*6236dae4SAndroid Build Coastguard Worker</command>
45*6236dae4SAndroid Build Coastguard Worker
46*6236dae4SAndroid Build Coastguard Worker</client>
47*6236dae4SAndroid Build Coastguard Worker
48*6236dae4SAndroid Build Coastguard Worker#
49*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
50*6236dae4SAndroid Build Coastguard Worker<verify>
51*6236dae4SAndroid Build Coastguard Worker<stdout crlf="yes">
52*6236dae4SAndroid Build Coastguard WorkerHTTP/2 404
53*6236dae4SAndroid Build Coastguard Workerdate: Tue, 09 Nov 2010 14:49:00 GMT
54*6236dae4SAndroid Build Coastguard Workercontent-length: 6
55*6236dae4SAndroid Build Coastguard Workercontent-type: text/html
56*6236dae4SAndroid Build Coastguard Workerfunny-head: yesyes
57*6236dae4SAndroid Build Coastguard Workerserver: nghttpx
58*6236dae4SAndroid Build Coastguard Workervia: 1.1 nghttpx
59*6236dae4SAndroid Build Coastguard Worker
60*6236dae4SAndroid Build Coastguard Worker</stdout>
61*6236dae4SAndroid Build Coastguard Worker<errorcode>
62*6236dae4SAndroid Build Coastguard Worker22
63*6236dae4SAndroid Build Coastguard Worker</errorcode>
64*6236dae4SAndroid Build Coastguard Worker</verify>
65*6236dae4SAndroid Build Coastguard Worker</testcase>
66