1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP POST
6Content-Length
7</keywords>
8</info>
9
10# Server-side
11<reply>
12<data nocheck="yes">
13HTTP/1.1 411 Length Required
14Date: Sun, 19 Jan 2014 18:50:58 GMT
15Server: test-server/fake swsclose
16Connection: close
17</data>
18</reply>
19
20# Client-side
21<client>
22<server>
23http
24</server>
25<tool>
26lib1514
27</tool>
28<name>
29HTTP POST with read callback and unknown data size
30</name>
31<command>
32http://%HOSTIP:%HTTPPORT/1514
33</command>
34</client>
35
36# Verify data after the test has been "shot"
37<verify>
38# Content-Length header is not present
39<protocol>
40POST /1514 HTTP/1.1
41Host: %HOSTIP:%HTTPPORT
42Accept: */*
43Content-Type: application/x-www-form-urlencoded
44Expect: 100-continue
45
46</protocol>
47</verify>
48</testcase>
49