Debian Codegraph @

deps/curl/tests/data/test1415

raw
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 HTTP proxy
7 cookies
8 cookiejar
9 delete expired cookie
10 </keywords>
11 </info>
12
13 # Server-side
14 <reply>
15 <data>
16 HTTP/1.1 200 OK
17 Date: Thu, 09 Nov 2010 14:49:00 GMT
18 Server: test-server/fake
19 Content-Length: 4
20 Content-Type: text/html
21 Funny-head: yesyes
22 Set-Cookie: test1value=test1; domain=example.com; path=/;
23 Set-Cookie: test2value=test2; expires=Thursday, 31-Dec-2037 00:00:00 GMT; domain=example.com; path=/;
24 Set-Cookie: test3value=test3; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
25 Set-Cookie: test4value=test4; expires=Thursday, 31-Dec-2037 00:00:00 GMT; domain=example.com; path=/;
26 Set-Cookie: test5value=test5; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
27 Set-Cookie: test6value=test6; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
28 Set-Cookie: test7value=test7; expires=Thursday, 31-Dec-2037 00:00:00 GMT; domain=example.com; path=/;
29 Set-Cookie: test8value=test8; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
30
31 boo
32 </data>
33 </reply>
34
35 # Client-side
36 <client>
37 <server>
38 http
39 </server>
40 <name>
41 Delete expired cookies
42 </name>
43 <setenv>
44 TZ=GMT
45 </setenv>
46 <command>
47 http://example.com/we/want/1415 -b none -c log/jar1415.txt -x %HOSTIP:%HTTPPORT
48 </command>
49 <features>
50 proxy
51 </features>
52 </client>
53
54 # Verify data after the test has been "shot"
55 <verify>
56 <strip>
57 ^User-Agent:.*
58 </strip>
59 <protocol>
60 GET http://example.com/we/want/1415 HTTP/1.1
61 Host: example.com
62 Accept: */*
63 Proxy-Connection: Keep-Alive
64
65 </protocol>
66
67 <file name="log/jar1415.txt" mode="text">
68 # Netscape HTTP Cookie File
69 # https://curl.haxx.se/docs/http-cookies.html
70 # This file was generated by libcurl! Edit at your own risk.
71
72 .example.com TRUE / FALSE 2145830400 test7value test7
73 .example.com TRUE / FALSE 2145830400 test4value test4
74 .example.com TRUE / FALSE 2145830400 test2value test2
75 .example.com TRUE / FALSE 0 test1value test1
76 </file>
77 </verify>
78 </testcase>