xref: /curl/tests/data/test516 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP POST
6FORM
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<data>
14HTTP/1.1 200 OK swsclose
15Date: Tue, 09 Nov 2010 14:49:00 GMT
16Server: test-server/fake
17Content-Length: 3
18
19OK
20</data>
21</reply>
22
23# Client-side
24<client>
25<features>
26form-api
27</features>
28<server>
29http
30</server>
31# tool is what to use instead of 'curl'
32<tool>
33lib%TESTNUMBER
34</tool>
35
36<name>
37make an HTTPPOST set to NULL
38</name>
39<command>
40http://%HOSTIP:%HTTPPORT/%TESTNUMBER
41</command>
42</client>
43
44#
45# Verify data after the test has been "shot"
46<verify>
47<protocol>
48POST /%TESTNUMBER HTTP/1.1
49Host: %HOSTIP:%HTTPPORT
50Accept: */*
51Content-Length: 0
52
53</protocol>
54</verify>
55</testcase>
56