Revert "Imported Upstream version 7.53.1"
[platform/upstream/curl.git] / tests / data / test578
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP POST
6 </keywords>
7 </info>
8 #
9 # Server-side
10 <reply name="1">
11 <data>
12 HTTP/1.1 200 OK\r
13 Date: Thu, 09 Nov 2010 14:49:00 GMT\r
14 Server: test-server/fake\r
15 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT\r
16 ETag: "21025-dc7-39462498"\r
17 Accept-Ranges: bytes\r
18 Content-Length: 6\r
19 Connection: close\r
20 Content-Type: text/html\r
21 Funny-head: yesyes\r
22 \r
23 -foo-
24 </data>
25 </reply>
26
27 # Client-side
28 <client>
29 <server>
30 http
31 </server>
32 # tool is what to use instead of 'curl'
33 <tool>
34 lib578
35 </tool>
36
37  <name>
38 HTTP POST lower than MAX_INITIAL_POST_SIZE with progress callback
39  </name>
40  <command>
41 http://%HOSTIP:%HTTPPORT/500 log/ip578
42 </command>
43 </client>
44
45 #
46 # Verify data after the test has been "shot"
47 <verify>
48 <file name="log/ip578">
49 PASSED, UL data matched data size
50 </file>
51 </verify>
52 </testcase>