• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
15Content-Length:
16-6
17Content-Type: text/html
18Funny-head: yesyes
19
20moooooooooooo
21</data>
22<datacheck>
23HTTP/1.1 200 OK swsclose
24Date: Tue, 09 Nov 2010 14:49:00 GMT
25</datacheck>
26</reply>
27
28#
29# Client-side
30<client>
31<server>
32http
33</server>
34<name>
35HTTP response with control code then negative Content-Length
36</name>
37<command>
38http://%HOSTIP:%HTTPPORT/%TESTNUMBER
39</command>
40</client>
41
42#
43# Verify data after the test has been "shot"
44<verify>
45<protocol>
46GET /%TESTNUMBER HTTP/1.1
47Host: %HOSTIP:%HTTPPORT
48User-Agent: curl/%VERSION
49Accept: */*
50
51</protocol>
52
53# built-in curl returns weird_server_reply
54<errorcode>
558
56</errorcode>
57</verify>
58</testcase>
59