blob: a9efc2929dbb4021de145c9209aeac1a5abdcdbe [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6followlocation
7</keywords>
8</info>
9# Server-side
10<reply>
11<data>
12HTTP/1.1 302 This is a weirdo text message swsclose
13Connection: close
14Location:
15
16This server reply is for testing
17</data>
18</reply>
19
20# Client-side
21<client>
22<server>
23http
24</server>
25 <name>
26HTTP with blank Location:
27 </name>
28 <command>
29http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L
30</command>
31</client>
32
33# Verify data after the test has been "shot"
34<verify>
35<protocol>
36GET /want/%TESTNUMBER HTTP/1.1
37Host: %HOSTIP:%HTTPPORT
38User-Agent: curl/%VERSION
39Accept: */*
40
41</protocol>
42</verify>
43</testcase>