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: Thu, 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/580
43</command>
44</client>
45
46# Verify data after the test has been "shot"
47<verify>
48<strip>
49^User-Agent:.*
50</strip>
51<protocol>
52GET /580 HTTP/1.1
53Host: %HOSTIP:%HTTPPORT
54Accept: */*
55
56</protocol>
57</verify>
58</testcase>
59