2015-06-23 20:51:03 -04:00
|
|
|
|
<testcase>
|
|
|
|
|
<info>
|
|
|
|
|
<keywords>
|
|
|
|
|
CURLOPT_POSTFIELDS
|
|
|
|
|
</keywords>
|
|
|
|
|
</info>
|
|
|
|
|
|
|
|
|
|
<client>
|
|
|
|
|
<server>
|
|
|
|
|
http
|
|
|
|
|
</server>
|
|
|
|
|
<features>
|
|
|
|
|
http
|
|
|
|
|
</features>
|
|
|
|
|
<tool>
|
2021-03-12 11:38:26 -05:00
|
|
|
|
lib%TESTNUMBER
|
2015-06-23 20:51:03 -04:00
|
|
|
|
</tool>
|
|
|
|
|
<name>
|
|
|
|
|
CURLOPT_POSTFIELDS with binary data set after multi_add_handle
|
|
|
|
|
</name>
|
|
|
|
|
<command>
|
2021-03-12 11:38:26 -05:00
|
|
|
|
%HOSTIP:%HTTPPORT/%TESTNUMBER
|
2015-06-23 20:51:03 -04:00
|
|
|
|
</command>
|
|
|
|
|
</client>
|
|
|
|
|
|
|
|
|
|
# it should be detected and an error should be reported
|
|
|
|
|
<verify>
|
|
|
|
|
<protocol nonewline="yes">
|
2021-03-12 11:38:26 -05:00
|
|
|
|
POST /%TESTNUMBER HTTP/1.1
|
2015-06-23 20:51:03 -04:00
|
|
|
|
Host: %HOSTIP:%HTTPPORT
|
|
|
|
|
Accept: */*
|
|
|
|
|
Content-Length: 8
|
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
|
|
.abc |