Annotation of embedaddon/curl/tests/data/test61, revision 1.1.1.1

1.1       misho       1: <testcase>
                      2: <info>
                      3: <keywords>
                      4: HTTP
                      5: HTTP GET
                      6: cookies
                      7: cookiejar
                      8: HTTP replaced headers
                      9: httponly
                     10: </keywords>
                     11: </info>
                     12: # Server-side
                     13: <reply>
                     14: <data>
                     15: HTTP/1.1 200 OK
                     16: Date: Thu, 09 Nov 2010 14:49:00 GMT
                     17: Server: test-server/fake
                     18: Content-Type: text/html
                     19: Funny-head: yesyes
                     20: Set-Cookie: test=yes; httponly; domain=foo.com; expires=Fri Feb 13 11:56:27 GMT 2037
                     21: SET-COOKIE: test2=yes; domain=host.foo.com; expires=Fri Feb 13 11:56:27 GMT 2037
                     22: Set-Cookie: test3=maybe; domain=foo.com; path=/moo; secure
                     23: Set-Cookie: test4=no; domain=nope.foo.com; path=/moo; secure
                     24: Set-Cookie: test5=name; domain=anything.com; path=/ ; secure
                     25: Set-Cookie: fake=fooledyou; domain=..com; path=/;
                     26: Set-Cookie: supercookie=fooledyou; domain=.com; path=/;^M
                     27: Content-Length: 4
                     28: 
                     29: boo
                     30: </data>
                     31: </reply>
                     32: 
                     33: # Client-side
                     34: <client>
                     35: <server>
                     36: http
                     37: </server>
                     38:  <name>
                     39: HTTP with various cookies and custom Host:
                     40:  </name>
                     41: # Explicitly set the time zone to a known good one, in case the user is
                     42: # using one of the 'right' zones that take into account leap seconds
                     43: # which causes the cookie expiry times to be different.
                     44: <setenv>
                     45: TZ=GMT
                     46: </setenv>
                     47:  <command>
                     48: http://%HOSTIP:%HTTPPORT/we/want/61 -c log/jar61.txt -H "Host: www.host.foo.com"
                     49: </command>
                     50: </client>
                     51: 
                     52: # Verify data after the test has been "shot"
                     53: <verify>
                     54: <strip>
                     55: ^User-Agent:.*
                     56: </strip>
                     57: <protocol>
                     58: GET /we/want/61 HTTP/1.1
                     59: Host: www.host.foo.com
                     60: Accept: */*
                     61: 
                     62: </protocol>
                     63: <file name="log/jar61.txt" mode="text">
                     64: # Netscape HTTP Cookie File
                     65: # https://curl.haxx.se/docs/http-cookies.html
                     66: # This file was generated by libcurl! Edit at your own risk.
                     67: 
                     68: .host.foo.com  TRUE    /we/want/       FALSE   2118138987      test2   yes
                     69: #HttpOnly_.foo.com     TRUE    /we/want/       FALSE   2118138987      test    yes
                     70: </file>
                     71: </verify>
                     72: </testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>