test3104 (838B)
1 <testcase> 2 <info> 3 <keywords> 4 cookies 5 </keywords> 6 </info> 7 8 # 9 # Server-side 10 <reply> 11 <data crlf="yes"> 12 HTTP/1.1 200 OK 13 Date: Tue, 09 Nov 2010 14:49:00 GMT 14 Server: test-server/fake 15 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 16 ETag: "21025-dc7-39462498" 17 Accept-Ranges: bytes 18 Content-Length: 6 19 Connection: close 20 Content-Type: text/html 21 Funny-head: yesyes 22 23 -foo- 24 </data> 25 </reply> 26 27 # 28 # Client-side 29 <client> 30 <features> 31 cookies 32 proxy 33 </features> 34 <server> 35 http 36 </server> 37 <tool> 38 lib%TESTNUMBER 39 </tool> 40 <name> 41 CURLOPT_COOKIELIST with Netscape format 42 </name> 43 <command> 44 http://%HOSTIP:%HTTPPORT/%TESTNUMBER 45 </command> 46 </client> 47 48 # 49 # Verify data after the test has been "shot" 50 <verify> 51 <protocol crlf="yes"> 52 GET http://example.com/ HTTP/1.1 53 Host: example.com 54 Accept: */* 55 Proxy-Connection: Keep-Alive 56 Cookie: name=value 57 58 </protocol> 59 </verify> 60 </testcase>