test78 987 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #
  2. # Server-side
  3. <reply>
  4. <data>
  5. HTTP/1.1 200 OK
  6. Server: test-server/fake
  7. Last-Modified: Tue, 13 Jun 1990 12:10:00 GMT
  8. ETag: "21025-dc7-39462498"
  9. Accept-Ranges: bytes
  10. Content-Length: 6
  11. Connection: close
  12. Content-Type: text/html
  13. Funny-head: yesyes
  14. <foo>
  15. </data>
  16. <datacheck>
  17. HTTP/1.1 200 OK
  18. Server: test-server/fake
  19. Last-Modified: Tue, 13 Jun 1990 12:10:00 GMT
  20. ETag: "21025-dc7-39462498"
  21. Accept-Ranges: bytes
  22. Content-Length: 6
  23. Connection: close
  24. Content-Type: text/html
  25. Funny-head: yesyes
  26. </datacheck>
  27. </reply>
  28. #
  29. # Client-side
  30. <client>
  31. <server>
  32. http
  33. </server>
  34. <name>
  35. HTTP with -z "newer date"
  36. </name>
  37. <command>
  38. http://%HOSTIP:%HOSTPORT/78 -z "1999-12-12 12:00:00 MET"
  39. </command>
  40. </client>
  41. #
  42. # Verify data after the test has been "shot"
  43. <verify>
  44. <strip>
  45. ^User-Agent:.*
  46. </strip>
  47. <protocol>
  48. GET /78 HTTP/1.1
  49. Host: 127.0.0.1:8999
  50. Pragma: no-cache
  51. Accept: */*
  52. If-Modified-Since: Sun, 12 Dec 1999 11:00:00 GMT
  53. </protocol>
  54. </verify>