xref: /curl/tests/data/test269 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12<data>
13HTTP/1.1 200 OK swsclose
14Date: Tue, 09 Nov 2010 14:49:00 GMT
15Server: test-server/fake
16Accept-Ranges: bytes
17Content-Length: 677654
18Connection: close
19Content-Type: text/html
20Funny-head: yesyes
21
22muahahaha
23</data>
24</reply>
25
26#
27# Client-side
28<client>
29<features>
30!hyper
31</features>
32<server>
33http
34</server>
35<name>
36HTTP --ignore-content-length
37</name>
38<command>
39http://%HOSTIP:%HTTPPORT/%TESTNUMBER --ignore-content-length
40</command>
41</client>
42
43#
44# Verify data after the test has been "shot"
45<verify>
46<protocol>
47GET /%TESTNUMBER HTTP/1.1
48Host: %HOSTIP:%HTTPPORT
49User-Agent: curl/%VERSION
50Accept: */*
51
52</protocol>
53</verify>
54</testcase>
55