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