Debian Codegraph @

curl/tests/data/test178

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