Annotation of embedaddon/curl/tests/data/test1562, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTPS
5: HTTP
6: HTTP GET
7: cookies
8: HTTP replaced headers
9: </keywords>
10: </info>
11:
12: # Server-side
13: <reply>
14: <data1>
15: HTTP/1.1 200 OK
16: Date: Thu, 09 Nov 2010 14:49:00 GMT
17: Server: test-server/fake
18: Set-Cookie: foo=123; path=/; secure;
19: Content-Length: 7
20:
21: nomnom
22: </data1>
23: <data2>
24: HTTP/1.1 200 OK
25: Date: Thu, 09 Nov 2010 14:49:00 GMT
26: Server: test-server/fake
27: Set-Cookie: foo=; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/
28: Content-Length: 7
29:
30: nomnom
31: </data2>
32: </reply>
33:
34: # Client-side
35: <client>
36: <features>
37: SSL
38: </features>
39: <server>
40: http
41: https
42: </server>
43: <name>
44: Expire secure cookies over HTTPS
45: </name>
46: <command>
47: -k https://%HOSTIP:%HTTPSPORT/15620001 -H "Host: www.example.com" https://%HOSTIP:%HTTPSPORT/15620002 -b "non-existing" https://%HOSTIP:%HTTPSPORT/15620001
48: </command>
49: </client>
50: <verify>
51: <strip>
52: ^User-Agent:.*
53: </strip>
54: <protocol>
55: GET /15620001 HTTP/1.1
56: Host: www.example.com
57: Accept: */*
58:
59: GET /15620002 HTTP/1.1
60: Host: www.example.com
61: Accept: */*
62: Cookie: foo=123
63:
64: GET /15620001 HTTP/1.1
65: Host: www.example.com
66: Accept: */*
67:
68: </protocol>
69:
70: </verify>
71:
72: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>