test46 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # Server-side
  2. <reply>
  3. <data>
  4. HTTP/1.1 200 OK
  5. Server: Microsoft-IIS/4.0
  6. Date: Tue, 25 Sep 2001 19:37:44 GMT
  7. Content-Type: text/html
  8. Set-Cookie: ckyPersistent=permanent; expires=Tue, 01-Jan-2010 05:00:00 GMT; path=/
  9. Set-Cookie: ckySession=temporary; path=/
  10. Set-Cookie: ASPSESSIONIDQGGQQSJJ=GKNBDIFAAOFDPDAIEAKDIBKE; path=/
  11. Set-Cookie: justaname=; path=/;
  12. Cache-control: private
  13. Content-Length: 62
  14. This server reply is for testing a simple Location: following
  15. </data>
  16. </reply>
  17. # Client-side
  18. <client>
  19. <server>
  20. http
  21. </server>
  22. <name>
  23. HTTP, get cookies and store in cookie jar
  24. </name>
  25. <command>
  26. %HOSTIP:%HOSTPORT/want/46 -c log/jar46 -b log/injar46
  27. </command>
  28. <file name="log/injar46">
  29. # Netscape HTTP Cookie File
  30. # http://www.netscape.com/newsref/std/cookie_spec.html
  31. # This is generated by libcurl! Do not edit.
  32. www.fake.come FALSE / FALSE 1022144953 cookiecliente si
  33. www.loser.com FALSE / FALSE 1139150993 UID 99
  34. 127.0.0.1 FALSE / FALSE 1139150993 mooo indeed
  35. 127.0.0.1 FALSE / FALSE 0 empty
  36. </file>
  37. </client>
  38. # Verify data after the test has been "shot"
  39. <verify>
  40. <strip>
  41. ^User-Agent:.*
  42. </strip>
  43. <protocol>
  44. GET /want/46 HTTP/1.1
  45. Host: 127.0.0.1:8999
  46. Pragma: no-cache
  47. Accept: */*
  48. Cookie: empty=; mooo=indeed
  49. </protocol>
  50. <file name="log/jar46">
  51. # Netscape HTTP Cookie File
  52. # http://www.netscape.com/newsref/std/cookie_spec.html
  53. # This file was generated by libcurl! Edit at your own risk.
  54. www.fake.come FALSE / FALSE 1022144953 cookiecliente si
  55. www.loser.com FALSE / FALSE 1139150993 UID 99
  56. 127.0.0.1 FALSE / FALSE 1139150993 mooo indeed
  57. 127.0.0.1 FALSE / FALSE 0 empty
  58. 127.0.0.1 FALSE / FALSE 1262322000 ckyPersistent permanent
  59. 127.0.0.1 FALSE / FALSE 0 ckySession temporary
  60. 127.0.0.1 FALSE / FALSE 0 ASPSESSIONIDQGGQQSJJ GKNBDIFAAOFDPDAIEAKDIBKE
  61. 127.0.0.1 FALSE / FALSE 0 justaname
  62. </file>
  63. </verify>