test73 985 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Server-side
  2. <reply>
  3. <data>
  4. HTTP/1.1 200 OK swsclose
  5. Date: Thu, 09 Nov 2010 14:49:00 GMT
  6. Content-Type: text/html
  7. Set-Cookie: IPCZQX01af0fca5c=000010008168c200d25dfc4b; path=/; domain=.NOT_DISCLOSED.se
  8. boo
  9. </data>
  10. </reply>
  11. # Client-side
  12. <client>
  13. <server>
  14. http
  15. </server>
  16. <name>
  17. HTTP, receive cookies when using custom Host:, domain using only two dots
  18. </name>
  19. <command>
  20. http://%HOSTIP:%HOSTPORT/we/want/73 -c log/jar73.txt -H "Host: host.NOT_DISCLOSED.se"
  21. </command>
  22. </client>
  23. # Verify data after the test has been "shot"
  24. <verify>
  25. <strip>
  26. ^User-Agent:.*
  27. </strip>
  28. <protocol>
  29. GET /we/want/73 HTTP/1.1
  30. Pragma: no-cache
  31. Accept: */*
  32. Host: host.NOT_DISCLOSED.se
  33. </protocol>
  34. <file name="log/jar73.txt">
  35. # Netscape HTTP Cookie File
  36. # http://www.netscape.com/newsref/std/cookie_spec.html
  37. # This file was generated by libcurl! Edit at your own risk.
  38. .NOT_DISCLOSED.se TRUE / FALSE 0 IPCZQX01af0fca5c 000010008168c200d25dfc4b
  39. </file>
  40. </verify>