xref: /curl/tests/data/test483 (revision a8c852b9)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6cookies
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<data crlf="yes">
14HTTP/1.1 200 OK
15Set-Cookie: name=value; expires=Fri Feb 13 11:56:27 GMT 2132
16Set-Cookie: name2=value; expires=Fri Feb 13 11:56:27 ; 2132
17Set-Cookie: name3=value; expires=Fri Feb 13 11:56:27 ...................................................GMT 2132
18Set-Cookie: name4=value; expires=Fri Feb 13 11:56:27 ....................................................GMT 2132
19Accept-Ranges: bytes
20Content-Length: 6
21Connection: close
22
23-foo-
24</data>
25</reply>
26
27#
28# Client-side
29<client>
30<server>
31http
32</server>
33<features>
34large-time
35</features>
36<name>
37HTTP cookies with long expire dates
38</name>
39<command>
40http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c %LOGDIR/c%TESTNUMBER
41</command>
42</client>
43
44#
45# Verify data after the test has been "shot"
46<verify>
47<protocol crlf="yes">
48GET /%TESTNUMBER HTTP/1.1
49Host: %HOSTIP:%HTTPPORT
50User-Agent: curl/%VERSION
51Accept: */*
52
53</protocol>
54<file name="%LOGDIR/c%TESTNUMBER" mode="text">
55# Netscape HTTP Cookie File
56# https://curl.se/docs/http-cookies.html
57# This file was generated by libcurl! Edit at your own risk.
58
59127.0.0.1	FALSE	/	FALSE	0	name4	value
60127.0.0.1	FALSE	/	FALSE	5115959787	name3	value
61127.0.0.1	FALSE	/	FALSE	0	name2	value
62127.0.0.1	FALSE	/	FALSE	5115959787	name	value
63</file>
64</verify>
65</testcase>
66