诸暨麻将添加redis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

59 regels
979 B

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