xref: /curl/tests/data/test580 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6multi
7Duplicate-header
8</keywords>
9</info>
10
11# Server-side
12<reply>
13<data>
14HTTP/1.1 302 eat this!
15Date: Tue, 09 Nov 2010 14:49:00 GMT
16Server: test-server/fake
17Location: this-is-the-first.html
18Content-Length: 0
19Connection: close
20Location: and there's a second one too! / moo.html
21
22</data>
23</reply>
24
25# Client-side
26<client>
27<server>
28http
29</server>
30<features>
31http
32</features>
33# tool is what to use instead of 'curl'
34<tool>
35lib507
36</tool>
37
38<name>
39multi interface, multiple Location: headers
40</name>
41<command>
42http://%HOSTIP:%HTTPPORT/%TESTNUMBER
43</command>
44</client>
45
46# Verify data after the test has been "shot"
47<verify>
48<protocol>
49GET /%TESTNUMBER HTTP/1.1
50Host: %HOSTIP:%HTTPPORT
51Accept: */*
52
53</protocol>
54</verify>
55</testcase>
56