test1539 595 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP POST
  6. Content-Length
  7. chunked Transfer-Encoding
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <data nocheck="yes">
  13. HTTP/1.1 200 OK
  14. Date: Sun, 19 Jan 2014 18:50:58 GMT
  15. Server: test-server/fake swsclose
  16. Connection: close
  17. </data>
  18. </reply>
  19. # Client-side
  20. <client>
  21. <server>
  22. http
  23. </server>
  24. <tool>
  25. lib%TESTNUMBER
  26. </tool>
  27. <name>
  28. HTTP 1.0 POST with read callback and unknown data size
  29. </name>
  30. <command>
  31. http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  32. </command>
  33. </client>
  34. # Verify data after the test has been "shot"
  35. <verify>
  36. <errorcode>
  37. 25
  38. </errorcode>
  39. </verify>
  40. </testcase>