test1593 653 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. HTTP replaced headers
  7. CURLOPT_TIMECONDITION
  8. If-Modified-Since
  9. </keywords>
  10. </info>
  11. # Server-side
  12. <reply>
  13. <data nocheck="yes">
  14. HTTP/1.1 304 Not Modified
  15. Date: Thu, 11 Jul 2019 02:26:59 GMT
  16. Server: test-server/swsclose
  17. </data>
  18. </reply>
  19. # Client-side
  20. <client>
  21. <server>
  22. http
  23. </server>
  24. <name>
  25. HTTP custom header overrides CURLOPT_TIMECONDITION
  26. </name>
  27. <tool>
  28. lib%TESTNUMBER
  29. </tool>
  30. <command>
  31. http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  32. </command>
  33. </client>
  34. <verify>
  35. # Note here the lack of If-Modified-Since
  36. <protocol>
  37. GET /%TESTNUMBER HTTP/1.1
  38. Host: %HOSTIP:%HTTPPORT
  39. Accept: */*
  40. </protocol>
  41. </verify>
  42. </testcase>