Modified the default HTTP Accept: header to only be Accept: */*
[platform/upstream/curl.git] / tests / data / test46
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 200 OK
5 Server: Microsoft-IIS/4.0
6 Date: Tue, 25 Sep 2001 19:37:44 GMT
7 Content-Type: text/html
8 Set-Cookie: ckyPersistent=permanent; expires=Tue, 01-Jan-2010 05:00:00 GMT; path=/
9 Set-Cookie: ckySession=temporary; path=/
10 Set-Cookie: ASPSESSIONIDQGGQQSJJ=GKNBDIFAAOFDPDAIEAKDIBKE; path=/
11 Set-Cookie: justaname=; path=/;
12 Cache-control: private
13 Content-Length: 62\r
14
15 This server reply is for testing a simple Location: following
16 </data>
17 </reply>
18
19 # Client-side
20 <client>
21 <server>
22 http
23 </server>
24  <name>
25 HTTP, get cookies and store in cookie jar
26  </name>
27  <command>
28 %HOSTIP:%HOSTPORT/want/46 -c log/jar46 -b log/injar46
29 </command>
30 <file name="log/injar46">
31 # Netscape HTTP Cookie File
32 # http://www.netscape.com/newsref/std/cookie_spec.html
33 # This is generated by libcurl!  Do not edit.
34
35 www.fake.come   FALSE   /       FALSE   1022144953      cookiecliente   si
36 www.loser.com   FALSE   /       FALSE   1139150993      UID     99
37 127.0.0.1       FALSE   /       FALSE   1139150993      mooo    indeed
38 127.0.0.1       FALSE   /       FALSE   0       empty   
39 </file>
40 </client>
41
42 # Verify data after the test has been "shot"
43 <verify>
44 <strip>
45 ^User-Agent:.*
46 </strip>
47 <protocol>
48 GET /want/46 HTTP/1.1\r
49 Host: 127.0.0.1:8999\r
50 Pragma: no-cache\r
51 Accept: */*\r
52 Cookie: empty=; mooo=indeed\r
53 \r
54 </protocol>
55 <file name="log/jar46">
56 # Netscape HTTP Cookie File
57 # http://www.netscape.com/newsref/std/cookie_spec.html
58 # This file was generated by libcurl! Edit at your own risk.
59
60 www.fake.come   FALSE   /       FALSE   1022144953      cookiecliente   si
61 www.loser.com   FALSE   /       FALSE   1139150993      UID     99
62 127.0.0.1       FALSE   /       FALSE   1139150993      mooo    indeed
63 127.0.0.1       FALSE   /       FALSE   0       empty   
64 127.0.0.1       FALSE   /       FALSE   1262322000      ckyPersistent   permanent
65 127.0.0.1       FALSE   /       FALSE   0       ckySession      temporary
66 127.0.0.1       FALSE   /       FALSE   0       ASPSESSIONIDQGGQQSJJ    GKNBDIFAAOFDPDAIEAKDIBKE
67 127.0.0.1       FALSE   /       FALSE   0       justaname       
68 </file>
69 </verify>