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: Tue, 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: Tue, 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/%TESTNUMBER0001 -H "Host: www.example.com" https://%HOSTIP:%HTTPSPORT/%TESTNUMBER0002 -b "non-existing" https://%HOSTIP:%HTTPSPORT/%TESTNUMBER0001 48</command> 49</client> 50<verify> 51<protocol> 52GET /%TESTNUMBER0001 HTTP/1.1 53Host: www.example.com 54User-Agent: curl/%VERSION 55Accept: */* 56 57GET /%TESTNUMBER0002 HTTP/1.1 58Host: www.example.com 59User-Agent: curl/%VERSION 60Accept: */* 61Cookie: foo=123 62 63GET /%TESTNUMBER0001 HTTP/1.1 64Host: www.example.com 65User-Agent: curl/%VERSION 66Accept: */* 67 68</protocol> 69 70</verify> 71 72</testcase> 73