test1069 434 B

123456789101112131415161718192021222324252627282930313233343536
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP PUT
  6. HTTP/1.0
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. </reply>
  12. # Client-side
  13. <client>
  14. <server>
  15. http
  16. </server>
  17. <name>
  18. HTTP 1.0 PUT from stdin with no content length
  19. </name>
  20. <command>
  21. http://%HOSTIP:%HTTPPORT/bzz/1069 -T - -0
  22. </command>
  23. <stdin>
  24. this data can't be sent
  25. </stdin>
  26. </client>
  27. # Verify data after the test has been "shot"
  28. <verify>
  29. <errorcode>
  30. 25
  31. </errorcode>
  32. </verify>
  33. </testcase>