test33 824 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Server-side
  2. <reply>
  3. <data>
  4. HTTP/1.1 OK swsclose
  5. </data>
  6. </reply>
  7. # Client-side
  8. <client>
  9. <server>
  10. http
  11. </server>
  12. <name>
  13. HTTP PUT with resume
  14. </name>
  15. <file name="log/test33.txt">
  16. 012345678
  17. 012345678
  18. 012345678
  19. 012345678
  20. 012345678
  21. 012345678
  22. 012345678
  23. 012345678
  24. 012345678
  25. 012345678
  26. </file>
  27. <command>
  28. http://%HOSTIP:%HOSTPORT/33 -Tlog/test33.txt -C 50
  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. PUT /33 HTTP/1.1
  38. Content-Range: bytes 50-99/100
  39. User-Agent: curl/7.6 (sparc-sun-solaris2.7) libcurl 7.6-pre4 (SSL 0.9.6) (krb4 enabled)
  40. Host: 127.0.0.1:8999
  41. Pragma: no-cache
  42. Accept: */*
  43. Content-Length: 50
  44. Expect: 100-continue
  45. 012345678
  46. 012345678
  47. 012345678
  48. 012345678
  49. 012345678
  50. </protocol>
  51. </verify>