blob: 4f2f4435a968f463955bccfe92328171b5cf41da [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6followlocation
7</keywords>
8</info>
9# Server-side
10<reply>
11<data>
12HTTP/1.1 200 hello
13Connection: close
14Content-Length: 4
15
16hej
17</data>
18</reply>
19
20# Client-side
21<client>
22<server>
23http
24</server>
25 <name>
26HTTP URL with http:/ (one slash!)
27 </name>
28 <command>
29http:/%HOSTIP:%HTTPPORT/want/1143
30</command>
31</client>
32
33# Verify data after the test has been "shot"
34<verify>
35<strip>
36^User-Agent:.*
37</strip>
38<protocol>
39GET /want/1143 HTTP/1.1
40Host: %HOSTIP:%HTTPPORT
41Accept: */*
42
43</protocol>
44</verify>
45</testcase>