• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4HTTPS
5HTTP
6HTTP GET
7cookies
8HTTP replaced headers
9</keywords>
10</info>
11
12# Server-side
13<reply>
14<data1>
15HTTP/1.1 200 OK
16Date: Thu, 09 Nov 2010 14:49:00 GMT
17Server: test-server/fake
18Set-Cookie: foo=123; path=/; secure;
19Content-Length: 7
20
21nomnom
22</data1>
23<data2>
24HTTP/1.1 200 OK
25Date: Thu, 09 Nov 2010 14:49:00 GMT
26Server: test-server/fake
27Set-Cookie: foo=; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/
28Content-Length: 7
29
30nomnom
31</data2>
32</reply>
33
34# Client-side
35<client>
36<features>
37SSL
38</features>
39<server>
40http
41https
42</server>
43<name>
44Expire 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>
55GET /15620001 HTTP/1.1
56Host: www.example.com
57Accept: */*
58
59GET /15620002 HTTP/1.1
60Host: www.example.com
61Accept: */*
62Cookie: foo=123
63
64GET /15620001 HTTP/1.1
65Host: www.example.com
66Accept: */*
67
68</protocol>
69
70</verify>
71
72</testcase>
73