• 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 nocheck="yes">
13HTTP/1.0 200 OK swsclose
14Content-Length: 0
15
16</data>
17</reply>
18
19# Client-side
20<client>
21<server>
22http
23</server>
24# tool is what to use instead of 'curl'
25<tool>
26lib1532
27</tool>
28<name>
29Test CURLINFO_RESPONSE_CODE
30</name>
31<command>
32http://%HOSTIP:%HTTPPORT/1532
33</command>
34</client>
35
36#
37# Verify data after the test has been "shot"
38<verify>
39<protocol>
40GET /1532 HTTP/1.1
41Host: %HOSTIP:%HTTPPORT
42Accept: */*
43
44</protocol>
45<errorcode>
460
47</errorcode>
48</verify>
49</testcase>
50