Annotation of embedaddon/curl/tests/data/test580, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP GET
6: multi
7: Duplicate-header
8: </keywords>
9: </info>
10:
11: # Server-side
12: <reply>
13: <data>
14: HTTP/1.1 302 eat this!
15: Date: Thu, 09 Nov 2010 14:49:00 GMT
16: Server: test-server/fake
17: Location: this-is-the-first.html
18: Content-Length: 0
19: Connection: close
20: Location: and there's a second one too! / moo.html
21:
22: </data>
23: </reply>
24:
25: # Client-side
26: <client>
27: <server>
28: http
29: </server>
30: <features>
31: http
32: </features>
33: # tool is what to use instead of 'curl'
34: <tool>
35: lib507
36: </tool>
37:
38: <name>
39: multi interface, multiple Location: headers
40: </name>
41: <command>
42: http://%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>
52: GET /580 HTTP/1.1
53: Host: %HOSTIP:%HTTPPORT
54: Accept: */*
55:
56: </protocol>
57: </verify>
58: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>