1<testcase>
2#
3# Server-side
4<reply>
5<data>
6HTTP/1.1 200 OK swsclose
7Date: Thu, 09 Nov 2010 14:49:00 GMT
8Content-Length: -6
9Content-Type: text/html
10Funny-head: yesyes
11
12moooooooooooo
13</data>
14</reply>
15
16#
17# Client-side
18<client>
19<server>
20http
21</server>
22 <name>
23simple HTTP GET with negative Content-Length
24 </name>
25 <command>
26http://%HOSTIP:%HTTPPORT/178
27</command>
28</client>
29
30#
31# Verify data after the test has been "shot"
32<verify>
33<strip>
34^User-Agent:.*
35</strip>
36<protocol>
37GET /178 HTTP/1.1
38Host: %HOSTIP:%HTTPPORT
39Accept: */*
40
41</protocol>
42</verify>
43</testcase>
44