test1905 1014 B

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