Annotation of embedaddon/curl/tests/data/test1551, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: multi
5: </keywords>
6: </info>
7:
8: # Server-side
9: <reply>
10: <data>
11: HTTP/1.1 302 OK
12: Date: Thu, 09 Nov 2010 14:49:00 GMT
13: Content-Length: 6
14: Location: /15510002
15:
16: -foo-
17: </data>
18: <data2>
19: HTTP/1.1 200 OK
20: Date: Thu, 09 Nov 2010 14:49:00 GMT
21: Content-Length: 11
22:
23: redirected
24: </data2>
25: <datacheck>
26: redirected
27: redirected
28: </datacheck>
29: </reply>
30:
31: # Client-side
32: <client>
33: <server>
34: http
35: </server>
36: # tool is what to use instead of 'curl'
37: <tool>
38: lib1551
39: </tool>
40:
41: <name>
42: re-run redirected transfer without setting URL again
43: </name>
44: <command>
45: http://%HOSTIP:%HTTPPORT/1551
46: </command>
47: </client>
48:
49: <verify>
50: <strip>
51: ^User-Agent:.*
52: </strip>
53: <protocol>
54: GET /1551 HTTP/1.1
55: Host: %HOSTIP:%HTTPPORT
56: Accept: */*
57:
58: GET /15510002 HTTP/1.1
59: Host: %HOSTIP:%HTTPPORT
60: Accept: */*
61:
62: GET /1551 HTTP/1.1
63: Host: %HOSTIP:%HTTPPORT
64: Accept: */*
65:
66: GET /15510002 HTTP/1.1
67: Host: %HOSTIP:%HTTPPORT
68: Accept: */*
69:
70: </protocol>
71: </verify>
72: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>