xref: /curl/tests/data/test13 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP custom request
6</keywords>
7</info>
8# Server-side
9<reply>
10<data>
11HTTP/1.1 200 Read you
12Content-Length: 29
13Deleted: suppose we got a header like this! ;-)
14
15blabla custom request result
16</data>
17</reply>
18
19# Client-side
20<client>
21<server>
22http
23</server>
24<name>
25HTTP custom request 'DELETE'
26</name>
27<command>
28http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -X DELETE
29</command>
30</client>
31
32# Verify data after the test has been "shot"
33<verify>
34<protocol>
35DELETE /want/%TESTNUMBER HTTP/1.1
36Host: %HOSTIP:%HTTPPORT
37User-Agent: curl/%VERSION
38Accept: */*
39
40</protocol>
41</verify>
42</testcase>
43