un-nest curl
This commit is contained in:
66
curl-8.15.0/tests/data/test483
Normal file
66
curl-8.15.0/tests/data/test483
Normal file
@@ -0,0 +1,66 @@
|
||||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
HTTP GET
|
||||
cookies
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data crlf="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Set-Cookie: name=value; expires=Fri Feb 13 11:56:27 GMT 2132
|
||||
Set-Cookie: name2=value; expires=Fri Feb 13 11:56:27 ; 2132
|
||||
Set-Cookie: name3=value; expires=Fri Feb 13 11:56:27 ...................................................GMT 2132
|
||||
Set-Cookie: name4=value; expires=Fri Feb 13 11:56:27 ....................................................GMT 2132
|
||||
Accept-Ranges: bytes
|
||||
Content-Length: 6
|
||||
Connection: close
|
||||
|
||||
-foo-
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
http
|
||||
</server>
|
||||
<features>
|
||||
cookies
|
||||
large-time
|
||||
</features>
|
||||
<name>
|
||||
HTTP cookies with long expire dates
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -c %LOGDIR/c%TESTNUMBER
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol crlf="yes">
|
||||
GET /%TESTNUMBER HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
||||
</protocol>
|
||||
<file name="%LOGDIR/c%TESTNUMBER" mode="text">
|
||||
# Netscape HTTP Cookie File
|
||||
# https://curl.se/docs/http-cookies.html
|
||||
# This file was generated by libcurl! Edit at your own risk.
|
||||
|
||||
127.0.0.1 FALSE / FALSE 0 name4 value
|
||||
127.0.0.1 FALSE / FALSE %days[400] name3 value
|
||||
127.0.0.1 FALSE / FALSE 0 name2 value
|
||||
127.0.0.1 FALSE / FALSE %days[400] name value
|
||||
</file>
|
||||
</verify>
|
||||
</testcase>
|
||||
Reference in New Issue
Block a user