File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1161
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: HTTP GET
    6: cookies
    7: </keywords>
    8: </info>
    9: 
   10: # Server-side
   11: <reply>
   12: 
   13: <data>
   14: HTTP/1.1 200 OK
   15: Date: Thu, 09 Nov 2010 14:49:00 GMT
   16: Content-Length: 0
   17: Set-Cookie: ckyPersistent=permanent;path=;path=/
   18: 
   19: </data>
   20: </reply>
   21: 
   22: # Client-side
   23: <client>
   24: <server>
   25: http
   26: </server>
   27:  <name>
   28: HTTP cookie with path set twice
   29:  </name>
   30:  <command>
   31: http://%HOSTIP:%HTTPPORT/1161 -c log/cookies1161.txt
   32: </command>
   33: </client>
   34: 
   35: # Verify data after the test has been "shot"
   36: <verify>
   37: <strip>
   38: ^User-Agent:.*
   39: </strip>
   40: <protocol>
   41: GET /1161 HTTP/1.1
   42: Host: %HOSTIP:%HTTPPORT
   43: Accept: */*
   44: 
   45: </protocol>
   46: <file name="log/cookies1161.txt" mode="text">
   47: # Netscape HTTP Cookie File
   48: # https://curl.haxx.se/docs/http-cookies.html
   49: # This file was generated by libcurl! Edit at your own risk.
   50: 
   51: 127.0.0.1	FALSE	/	FALSE	0	ckyPersistent	permanent
   52: </file>
   53: </verify>
   54: </testcase>

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