test92 825 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Server-side
  2. <reply>
  3. <data>
  4. HTTP/1.1 416 Requested Range Not Satisfiable
  5. Date: Fri, 24 Oct 2003 21:33:12 GMT
  6. Server: Apache/1.3.19 (Unix) (Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6 PHP/4.3.1
  7. Last-Modified: Fri, 24 Oct 2003 18:01:23 GMT
  8. ETag: "ab57a-507-3f9968f3"
  9. Accept-Ranges: bytes
  10. Content-Length: 87
  11. Content-Range: bytes */87
  12. Content-Type: image/gif
  13. </data>
  14. </reply>
  15. # Client-side
  16. <client>
  17. <server>
  18. http
  19. </server>
  20. <name>
  21. HTTP resume transfer with the whole file already downloaded
  22. </name>
  23. <command>
  24. http://%HOSTIP:%HOSTPORT/want/92 -C 87
  25. </command>
  26. </client>
  27. # Verify data after the test has been "shot"
  28. <verify>
  29. <strip>
  30. ^User-Agent:.*
  31. </strip>
  32. <protocol>
  33. GET /want/92 HTTP/1.1
  34. Range: bytes=87-
  35. Host: 127.0.0.1:8999
  36. Pragma: no-cache
  37. Accept: */*
  38. </protocol>
  39. </verify>