test1594 651 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. Retry-After: 22
  18. </data>
  19. </reply>
  20. # Client-side
  21. <client>
  22. <server>
  23. http
  24. </server>
  25. <name>
  26. HTTP Retry-After header parsing and extraction
  27. </name>
  28. <tool>
  29. lib%TESTNUMBER
  30. </tool>
  31. <command>
  32. http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  33. </command>
  34. </client>
  35. <verify>
  36. <protocol>
  37. GET /%TESTNUMBER HTTP/1.1
  38. Host: %HOSTIP:%HTTPPORT
  39. Accept: */*
  40. </protocol>
  41. <stdout>
  42. Retry-After: 22
  43. </stdout>
  44. </verify>
  45. </testcase>