Debian Codegraph @

curl/tests/data/test13

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