blob: 650e7d4e1733f93b21b13b08eb0a90582a38b485 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<testcase>
2<info>
3<keywords>
4HTTP PUT
5HTTP POST
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12</reply>
13
14#
15# Client-side
16<client>
17<server>
18none
19</server>
20 <name>
21Reject using -T and -d at once
22 </name>
23 <command>
24-T log/%TESTNUMBER -d input http://never-accessed
25</command>
26</client>
27
28#
29# Verify data after the test has been "shot"
30<verify>
31<errorcode>
322
33</errorcode>
34<stderr mode="text">
35Warning: You can only select one HTTP request method! You asked for both PUT
36Warning: (-T, --upload-file) and POST (-d, --data).
37</stderr>
38</verify>
39</testcase>