test12 861 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Server-side
  2. <reply>
  3. <data>
  4. HTTP/1.1 206 Partial Content
  5. Date: Mon, 13 Nov 2000 13:41:09 GMT
  6. Server: Apache/1.3.11 (Unix) PHP/3.0.14
  7. Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
  8. ETag: "21025-dc7-39462498"
  9. Accept-Ranges: bytes
  10. Content-Length: 101
  11. Content-Range: bytes 100-200/3527
  12. Connection: close
  13. Content-Type: text/html
  14. ink="#ffffff" vlink="#cccccc">
  15. <table width=100% cellspacing=0 cellpadding=0 border=0>
  16. <tr> 0123456
  17. </data>
  18. </reply>
  19. # Client-side
  20. <client>
  21. <server>
  22. http
  23. </server>
  24. <name>
  25. HTTP range support
  26. </name>
  27. <command>
  28. http://%HOSTIP:%HOSTPORT/want/12 -r 100-200
  29. </command>
  30. </test>
  31. # Verify data after the test has been "shot"
  32. <verify>
  33. <strip>
  34. ^User-Agent:.*
  35. </strip>
  36. <protocol>
  37. GET /want/12 HTTP/1.1
  38. Range: bytes=100-200
  39. Host: 127.0.0.1:8999
  40. Pragma: no-cache
  41. Accept: */*
  42. </protocol>
  43. </verify>