test644 978 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP POST
  6. HTTP MIME POST
  7. flaky
  8. </keywords>
  9. </info>
  10. #
  11. # Server-side
  12. <reply>
  13. <data>
  14. </data>
  15. </reply>
  16. # Client-side
  17. <client>
  18. <server>
  19. http
  20. </server>
  21. # tool is what to use instead of 'curl'
  22. <tool>
  23. lib644
  24. </tool>
  25. <name>
  26. HTTP multi-part formpost with aborted read callback
  27. </name>
  28. <command>
  29. http://%HOSTIP:%HTTPPORT/644
  30. </command>
  31. </client>
  32. #
  33. # Verify data after the test has been "shot"
  34. <verify>
  35. <strippart>
  36. s/^--------------------------[a-z0-9]*/------------------------------/
  37. s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
  38. </strippart>
  39. <protocol>
  40. POST /644 HTTP/1.1
  41. Host: %HOSTIP:%HTTPPORT
  42. Accept: */*
  43. Content-Length: 718
  44. Content-Type: multipart/form-data; boundary=----------------------------
  45. ------------------------------
  46. Content-Disposition: form-data; name="sendfile"; filename="postit2.c"
  47. </protocol>
  48. # CURLE_ABORTED_BY_CALLBACK (42)
  49. <errorcode>
  50. 42
  51. </errorcode>
  52. </verify>
  53. </testcase>