test1595 632 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 503 Error
  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 Retry-After header extraction (without header)
  26. </name>
  27. <tool>
  28. lib1594
  29. </tool>
  30. <command>
  31. http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  32. </command>
  33. </client>
  34. <verify>
  35. <protocol>
  36. GET /%TESTNUMBER HTTP/1.1
  37. Host: %HOSTIP:%HTTPPORT
  38. Accept: */*
  39. </protocol>
  40. <stdout>
  41. Retry-After: 0
  42. </stdout>
  43. </verify>
  44. </testcase>