test99 909 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. Resume
  7. Largefile
  8. FAILURE
  9. </keywords>
  10. </info>
  11. #
  12. # Server-side
  13. <reply>
  14. <data>
  15. HTTP/1.1 404 Nah
  16. Date: Tue, 09 Nov 2010 14:49:00 GMT
  17. Connection: close
  18. Content-Length: 13
  19. Funny-head: yesyes
  20. 0123456789123
  21. </data>
  22. <datacheck>
  23. HTTP/1.1 404 Nah
  24. Date: Tue, 09 Nov 2010 14:49:00 GMT
  25. Connection: close
  26. Content-Length: 13
  27. Funny-head: yesyes
  28. </datacheck>
  29. </reply>
  30. #
  31. # Client-side
  32. <client>
  33. <features>
  34. large_file
  35. </features>
  36. <server>
  37. http
  38. </server>
  39. <name>
  40. HTTP GET with large-file resume point and failed resume
  41. </name>
  42. <command>
  43. http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 9999999999
  44. </command>
  45. </client>
  46. #
  47. # Verify data after the test has been "shot"
  48. <verify>
  49. # 33 is CURLE_RANGE_ERROR
  50. <errorcode>
  51. 33
  52. </errorcode>
  53. <protocol>
  54. GET /%TESTNUMBER HTTP/1.1
  55. Host: %HOSTIP:%HTTPPORT
  56. Range: bytes=9999999999-
  57. User-Agent: curl/%VERSION
  58. Accept: */*
  59. </protocol>
  60. </verify>
  61. </testcase>