Debian Codegraph @

curl/tests/data/test181

raw
1 <reply>
2 <data>
3 HTTP/1.0 200 OK swsclose
4 Date: Thu, 09 Nov 2010 14:49:00 GMT
5 Server: test-server/fake
6
7 blablabla
8
9 </data>
10 </reply>
11
12 # Client-side
13 <client>
14 <server>
15 http
16 </server>
17 <name>
18 HTTP 1.0 POST
19 </name>
20 <command>
21 http://%HOSTIP:%HTTPPORT/we/want/181 --data-binary @log/test181.txt --http1.0
22 </command>
23 <file name="log/test181.txt">
24 Weird
25 file
26 to
27 upload
28 for
29 testing
30 the
31 POST
32 feature
33 </file>
34 </reply>
35
36 # Verify data after the test has been "shot"
37 <verify>
38 <strip>
39 ^User-Agent:.*
40 </strip>
41 <protocol>
42 POST /we/want/181 HTTP/1.0
43 Host: 127.0.0.1:%HTTPPORT
44 Accept: */*
45 Content-Length: 79
46 Content-Type: application/x-www-form-urlencoded
47
48 Weird
49 file
50 to
51 upload
52 for
53 testing
54 the
55 POST
56 feature
57 </protocol>
58 </verify>