curl/tests/data/test378
Daniel Stenberg 3fd80c7b59
tests: remove leading spaces from some tags
The threee tags `<name>`, `</name>` and `<command>` were frequently used
with a leading space that this removes. The reason this habbit is so
widespread in testcases is probably that they have been copy and pasted.

Hence, fixing them all now might curb this practice from now on.

Closes #12028
2023-10-04 14:15:23 +02:00

40 lines
550 B
Plaintext

<testcase>
<info>
<keywords>
HTTP PUT
HTTP POST
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<server>
none
</server>
<name>
Reject using -T and -d at once
</name>
<command>
-T %LOGDIR/%TESTNUMBER -d input http://never-accessed
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>
2
</errorcode>
<stderr mode="text">
Warning: You can only select one HTTP request method! You asked for both PUT
Warning: (-T, --upload-file) and POST (-d, --data).
</stderr>
</verify>
</testcase>