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