HTTP HTTP GET cookies header dump # This test verifies that the cookie file gets created even if the last cookie # has been removed - particularly important when the file is going to be read # again and thus must not contain old contents. # Server-side HTTP/1.1 200 OK Date: Thu, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Content-Type: text/html Funny-head: yesyes swsclose Set-Cookie: foobar=name; expires=Thu, 22 Nov 2028 10:54:11 GMT; HTTP/1.1 200 OK Date: Thu, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Content-Type: text/html Funny-head: yesyes swsclose Set-Cookie: foobar=name; expires=Thu, 01 Jan 1970 00:00:00 GMT; # Client-side http HTTP with cookiejar without cookies left http://%HOSTIP:%HTTPPORT/we/want/327 -b none -c log/cookies327 http://%HOSTIP:%HTTPPORT/we/want/3270002 # Verify data after the test has been "shot" ^User-Agent:.* GET /we/want/327 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* GET /we/want/3270002 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* Cookie: foobar=name # Netscape HTTP Cookie File # https://curl.haxx.se/docs/http-cookies.html # This file was generated by libcurl! Edit at your own risk.