File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1905
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    1: <testcase>
    2: <info>
    3: <keywords>
    4: HTTP
    5: cookies
    6: FLUSH
    7: </keywords>
    8: </info>
    9: 
   10: # Server-side
   11: <reply>
   12: <data nocheck="yes">
   13: HTTP/1.1 200 OK
   14: Date: Thu, 09 Nov 2010 14:49:00 GMT
   15: Server: test-server/fake
   16: Content-Type: text/html
   17: Funny-head: yesyes swsclose
   18: Set-Cookie: foobar=name;
   19: Set-Cookie: secondcookie=present;
   20: 
   21: </data>
   22: </reply>
   23: 
   24: # Client-side
   25: <client>
   26: <server>
   27: http
   28: </server>
   29:  <name>
   30: CURLOPT_COOKIELIST set to "FLUSH" of a shared cookie object
   31:  </name>
   32: <tool>
   33: lib1905
   34: </tool>
   35: <command>
   36: http://%HOSTIP:%HTTPPORT/we/want/1905
   37: </command>
   38: </client>
   39: 
   40: # Verify data after the test has been "shot"
   41: <verify>
   42: <strip>
   43: ^User-Agent:.*
   44: </strip>
   45: <protocol>
   46: GET /we/want/1905 HTTP/1.1
   47: Host: %HOSTIP:%HTTPPORT
   48: Accept: */*
   49: 
   50: </protocol>
   51: <file name="log/cookies1905" mode="text">
   52: # Netscape HTTP Cookie File
   53: # https://curl.haxx.se/docs/http-cookies.html
   54: # This file was generated by libcurl! Edit at your own risk.
   55: 
   56: %HOSTIP	FALSE	/we/want/	FALSE	0	secondcookie	present
   57: %HOSTIP	FALSE	/we/want/	FALSE	0	foobar	name
   58: </file>
   59: </verify>
   60: </testcase>

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