1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP PUT
6</keywords>
7</info>
8
9<reply>
10<data nocheck="yes">
11HTTP/1.1 200 A OK
12Server: curl test
13Content-Type: text/html; charset=iso-8859-1
14Content-Length: 3
15
16ok
17</data>
18<data2 nocheck="yes">
19HTTP/1.1 200 A OK
20Server: curl test
21Content-Type: text/html; charset=iso-8859-1
22Content-Length: 9
23
24still ok
25</data2>
26</reply>
27
28# Client-side
29<client>
30# 
31<server>
32http
33</server>
34 <name>
35HTTP PUT twice
36 </name>
37 <command>
38-H "Expect:" -T log/1064 http://%HOSTIP:%HTTPPORT/1064.upload1 -T log/1064 http://%HOSTIP:%HTTPPORT/10640002.upload2
39</command>
40<file name="log/1064">
41test
42</file>
43</client>
44
45# Verify data after the test has been "shot"
46<verify>
47<strip>
48^User-Agent:.*
49</strip>
50<protocol>
51PUT /1064.upload1 HTTP/1.1
52Host: %HOSTIP:%HTTPPORT
53Accept: */*
54Content-Length: 5
55
56test
57PUT /10640002.upload2 HTTP/1.1
58Host: %HOSTIP:%HTTPPORT
59Accept: */*
60Content-Length: 5
61
62test
63</protocol>
64<stdout>
65HTTP/1.1 200 A OK
66Server: curl test
67Content-Type: text/html; charset=iso-8859-1
68Content-Length: 3
69
70ok
71HTTP/1.1 200 A OK
72Server: curl test
73Content-Type: text/html; charset=iso-8859-1
74Content-Length: 9
75
76still ok
77</stdout>
78</verify>
79</testcase>
80