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