test1531 552 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <testcase>
  2. <info>
  3. <keywords>
  4. CURLOPT_POSTFIELDS
  5. </keywords>
  6. </info>
  7. <client>
  8. <server>
  9. http
  10. </server>
  11. <features>
  12. http
  13. </features>
  14. <tool>
  15. lib1531
  16. </tool>
  17. <name>
  18. CURLOPT_POSTFIELDS with binary data set after multi_add_handle
  19. </name>
  20. <command>
  21. %HOSTIP:%HTTPPORT/1531
  22. </command>
  23. </client>
  24. # it should be detected and an error should be reported
  25. <verify>
  26. <protocol nonewline="yes">
  27. POST /1531 HTTP/1.1
  28. Host: %HOSTIP:%HTTPPORT
  29. Accept: */*
  30. Content-Length: 8
  31. Content-Type: application/x-www-form-urlencoded
  32. .abc�xyz
  33. </protocol>
  34. </verify>
  35. </testcase>