Annotation of embedaddon/curl/tests/data/test1166, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP GET
6: followlocation
7: cookies
8: </keywords>
9: </info>
10:
11: # Server-side
12: <reply>
13: <data>
14: HTTP/1.1 200 OK
15: Date: Thu, 09 Nov 2010 14:49:00 GMT
16: Server: test-server/fake
17: Set-Cookie: trackyou=want; path=/
18: Content-Length: 68
19:
20: This server reply is for testing a Location: following with cookies
21: </data>
22: </reply>
23:
24: # Client-side
25: <client>
26: <server>
27: http
28: </server>
29: <name>
30: HTTP response with cookies but not receiving!
31: </name>
32: <command>
33: http://%HOSTIP:%HTTPPORT/want/1166 http://%HOSTIP:%HTTPPORT/want/1166
34: </command>
35: </client>
36:
37: # Verify data after the test has been "shot"
38: <verify>
39: <strip>
40: ^User-Agent:.*
41: </strip>
42: <protocol>
43: GET /want/1166 HTTP/1.1
44: Host: %HOSTIP:%HTTPPORT
45: Accept: */*
46:
47: GET /want/1166 HTTP/1.1
48: Host: %HOSTIP:%HTTPPORT
49: Accept: */*
50:
51: </protocol>
52: </verify>
53: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>