test425 (734B)
1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP PUT 6 </keywords> 7 </info> 8 9 # 10 # Server-side 11 <reply> 12 <data crlf="yes"> 13 HTTP/1.1 200 OK 14 Date: Tue, 09 Nov 2010 14:49:00 GMT 15 Content-Length: 6 16 Connection: close 17 Content-Type: text/html 18 19 -foo- 20 </data> 21 </reply> 22 23 # 24 # Client-side 25 <client> 26 <server> 27 http 28 </server> 29 <name> 30 HTTP PUT with path ending with slash + query 31 </name> 32 <command> 33 -T %LOGDIR/up%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER/?fullpath 34 </command> 35 <file name="%LOGDIR/up%TESTNUMBER"> 36 content 37 </file> 38 </client> 39 40 # 41 # Verify data after the test has been "shot" 42 <verify> 43 <protocol> 44 PUT /%TESTNUMBER/?fullpath HTTP/1.1 45 Host: %HOSTIP:%HTTPPORT 46 User-Agent: curl/%VERSION 47 Accept: */* 48 Content-Length: 8 49 50 content 51 </protocol> 52 </verify> 53 </testcase>