xref: /curl/tests/data/test1155 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6cookies
7</keywords>
8</info>
9
10# Server-side
11<reply>
12
13<data>
14HTTP/1.1 200 OK
15Date: Tue, 09 Nov 2010 14:49:00 GMT
16Content-Length: 0
17Set-Cookie: domain=value;path=/
18
19</data>
20</reply>
21
22# Client-side
23<client>
24<server>
25http
26</server>
27<name>
28HTTP cookie with parameter word as name
29</name>
30<command>
31http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c %LOGDIR/cookies%TESTNUMBER.txt
32</command>
33<features>
34cookies
35</features>
36</client>
37
38# Verify data after the test has been "shot"
39<verify>
40<protocol>
41GET /%TESTNUMBER HTTP/1.1
42Host: %HOSTIP:%HTTPPORT
43User-Agent: curl/%VERSION
44Accept: */*
45
46</protocol>
47<file name="%LOGDIR/cookies%TESTNUMBER.txt" mode="text">
48# Netscape HTTP Cookie File
49# https://curl.se/docs/http-cookies.html
50# This file was generated by libcurl! Edit at your own risk.
51
52%HOSTIP	FALSE	/	FALSE	0	domain	value
53</file>
54</verify>
55</testcase>
56