xref: /aosp_15_r20/external/curl/tests/data/test1531 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard WorkerCURLOPT_POSTFIELDS
5*6236dae4SAndroid Build Coastguard Worker</keywords>
6*6236dae4SAndroid Build Coastguard Worker</info>
7*6236dae4SAndroid Build Coastguard Worker
8*6236dae4SAndroid Build Coastguard Worker<client>
9*6236dae4SAndroid Build Coastguard Worker<server>
10*6236dae4SAndroid Build Coastguard Workerhttp
11*6236dae4SAndroid Build Coastguard Worker</server>
12*6236dae4SAndroid Build Coastguard Worker<features>
13*6236dae4SAndroid Build Coastguard Workerhttp
14*6236dae4SAndroid Build Coastguard Worker</features>
15*6236dae4SAndroid Build Coastguard Worker<tool>
16*6236dae4SAndroid Build Coastguard Workerlib%TESTNUMBER
17*6236dae4SAndroid Build Coastguard Worker</tool>
18*6236dae4SAndroid Build Coastguard Worker<name>
19*6236dae4SAndroid Build Coastguard WorkerCURLOPT_POSTFIELDS with binary data set after multi_add_handle
20*6236dae4SAndroid Build Coastguard Worker</name>
21*6236dae4SAndroid Build Coastguard Worker<command>
22*6236dae4SAndroid Build Coastguard Worker%HOSTIP:%HTTPPORT/%TESTNUMBER
23*6236dae4SAndroid Build Coastguard Worker</command>
24*6236dae4SAndroid Build Coastguard Worker</client>
25*6236dae4SAndroid Build Coastguard Worker
26*6236dae4SAndroid Build Coastguard Worker# it should be detected and an error should be reported
27*6236dae4SAndroid Build Coastguard Worker<verify>
28*6236dae4SAndroid Build Coastguard Worker<protocol nonewline="yes">
29*6236dae4SAndroid Build Coastguard WorkerPOST /%TESTNUMBER HTTP/1.1
30*6236dae4SAndroid Build Coastguard WorkerHost: %HOSTIP:%HTTPPORT
31*6236dae4SAndroid Build Coastguard WorkerAccept: */*
32*6236dae4SAndroid Build Coastguard WorkerContent-Length: 8
33*6236dae4SAndroid Build Coastguard WorkerContent-Type: application/x-www-form-urlencoded
34*6236dae4SAndroid Build Coastguard Worker
35*6236dae4SAndroid Build Coastguard Worker.abc�xyz
36*6236dae4SAndroid Build Coastguard Worker</protocol>
37*6236dae4SAndroid Build Coastguard Worker</verify>
38*6236dae4SAndroid Build Coastguard Worker</testcase>
39