113498266Sopenharmony_ci<testcase> 213498266Sopenharmony_ci<info> 313498266Sopenharmony_ci<keywords> 413498266Sopenharmony_ciHTTP 513498266Sopenharmony_ciHTTP PUT 613498266Sopenharmony_ciHTTP proxy 713498266Sopenharmony_ciHTTP Digest auth 813498266Sopenharmony_ciResume 913498266Sopenharmony_ciContent-Range 1013498266Sopenharmony_ciCUSTOMREQUEST 1113498266Sopenharmony_ci</keywords> 1213498266Sopenharmony_ci</info> 1313498266Sopenharmony_ci 1413498266Sopenharmony_ci<reply> 1513498266Sopenharmony_ci<data> 1613498266Sopenharmony_ciHTTP/1.1 100 Continue 1713498266Sopenharmony_ciServer: Microsoft-IIS/5.0 1813498266Sopenharmony_ciDate: Sun, 03 Apr 2005 14:57:45 GMT 1913498266Sopenharmony_ciX-Powered-By: ASP.NET 2013498266Sopenharmony_ci 2113498266Sopenharmony_ciHTTP/1.1 401 authentication please swsbounce 2213498266Sopenharmony_ciServer: Microsoft-IIS/6.0 2313498266Sopenharmony_ciWWW-Authenticate: Digest realm="testrealm", nonce="1053604144" 2413498266Sopenharmony_ciContent-Type: text/html; charset=iso-8859-1 2513498266Sopenharmony_ciContent-Length: 0 2613498266Sopenharmony_ci 2713498266Sopenharmony_ci</data> 2813498266Sopenharmony_ci<data1000> 2913498266Sopenharmony_ciHTTP/1.1 200 A OK 3013498266Sopenharmony_ciServer: Microsoft-IIS/6.0 3113498266Sopenharmony_ciContent-Type: text/html; charset=iso-8859-1 3213498266Sopenharmony_ciContent-Length: 3 3313498266Sopenharmony_ci 3413498266Sopenharmony_ciok 3513498266Sopenharmony_ci</data1000> 3613498266Sopenharmony_ci 3713498266Sopenharmony_ci<datacheck> 3813498266Sopenharmony_ciHTTP/1.1 100 Continue 3913498266Sopenharmony_ciServer: Microsoft-IIS/5.0 4013498266Sopenharmony_ciDate: Sun, 03 Apr 2005 14:57:45 GMT 4113498266Sopenharmony_ciX-Powered-By: ASP.NET 4213498266Sopenharmony_ci 4313498266Sopenharmony_ciHTTP/1.1 401 authentication please swsbounce 4413498266Sopenharmony_ciServer: Microsoft-IIS/6.0 4513498266Sopenharmony_ciWWW-Authenticate: Digest realm="testrealm", nonce="1053604144" 4613498266Sopenharmony_ciContent-Type: text/html; charset=iso-8859-1 4713498266Sopenharmony_ciContent-Length: 0 4813498266Sopenharmony_ci 4913498266Sopenharmony_ciHTTP/1.1 200 A OK 5013498266Sopenharmony_ciServer: Microsoft-IIS/6.0 5113498266Sopenharmony_ciContent-Type: text/html; charset=iso-8859-1 5213498266Sopenharmony_ciContent-Length: 3 5313498266Sopenharmony_ci 5413498266Sopenharmony_ciok 5513498266Sopenharmony_ci</datacheck> 5613498266Sopenharmony_ci 5713498266Sopenharmony_ci</reply> 5813498266Sopenharmony_ci 5913498266Sopenharmony_ci# Client-side 6013498266Sopenharmony_ci<client> 6113498266Sopenharmony_ci# 6213498266Sopenharmony_ci<server> 6313498266Sopenharmony_cihttp 6413498266Sopenharmony_ci</server> 6513498266Sopenharmony_ci<features> 6613498266Sopenharmony_ci!SSPI 6713498266Sopenharmony_cicrypto 6813498266Sopenharmony_ciproxy 6913498266Sopenharmony_ci</features> 7013498266Sopenharmony_ci<name> 7113498266Sopenharmony_ciHTTP PUT with Digest auth, resumed upload and modified method, twice 7213498266Sopenharmony_ci</name> 7313498266Sopenharmony_ci<command> 7413498266Sopenharmony_cihttp://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 -T %LOGDIR/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload2 -T %LOGDIR/%TESTNUMBER -u auser:apasswd --digest -x http://%HOSTIP:%HTTPPORT -C 2 -X GET 7513498266Sopenharmony_ci</command> 7613498266Sopenharmony_ci<file name="%LOGDIR/%TESTNUMBER"> 7713498266Sopenharmony_citest 7813498266Sopenharmony_ci</file> 7913498266Sopenharmony_ci</client> 8013498266Sopenharmony_ci 8113498266Sopenharmony_ci# Verify data after the test has been "shot" 8213498266Sopenharmony_ci<verify> 8313498266Sopenharmony_ci<protocol> 8413498266Sopenharmony_ciGET http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 HTTP/1.1 8513498266Sopenharmony_ciHost: %HOSTIP:%HTTPPORT 8613498266Sopenharmony_ciContent-Range: bytes 2-4/5 8713498266Sopenharmony_ciUser-Agent: curl/%VERSION 8813498266Sopenharmony_ciAccept: */* 8913498266Sopenharmony_ciProxy-Connection: Keep-Alive 9013498266Sopenharmony_ciContent-Length: 0 9113498266Sopenharmony_ci 9213498266Sopenharmony_ciGET http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 HTTP/1.1 9313498266Sopenharmony_ciHost: %HOSTIP:%HTTPPORT 9413498266Sopenharmony_ciAuthorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/%TESTNUMBER.upload1", response="198aa9b6acb4b0c71d02a197a5e41f54" 9513498266Sopenharmony_ciContent-Range: bytes 2-4/5 9613498266Sopenharmony_ciUser-Agent: curl/%VERSION 9713498266Sopenharmony_ciAccept: */* 9813498266Sopenharmony_ciProxy-Connection: Keep-Alive 9913498266Sopenharmony_ciContent-Length: 3 10013498266Sopenharmony_ci 10113498266Sopenharmony_cist 10213498266Sopenharmony_ciGET http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload2 HTTP/1.1 10313498266Sopenharmony_ciHost: %HOSTIP:%HTTPPORT 10413498266Sopenharmony_ciContent-Range: bytes 2-4/5 10513498266Sopenharmony_ciUser-Agent: curl/%VERSION 10613498266Sopenharmony_ciAccept: */* 10713498266Sopenharmony_ciProxy-Connection: Keep-Alive 10813498266Sopenharmony_ciContent-Length: 0 10913498266Sopenharmony_ci 11013498266Sopenharmony_ciGET http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload2 HTTP/1.1 11113498266Sopenharmony_ciHost: %HOSTIP:%HTTPPORT 11213498266Sopenharmony_ciAuthorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/%TESTNUMBER.upload2", response="d711f0d2042786d930de635ba0d1a1d0" 11313498266Sopenharmony_ciContent-Range: bytes 2-4/5 11413498266Sopenharmony_ciUser-Agent: curl/%VERSION 11513498266Sopenharmony_ciAccept: */* 11613498266Sopenharmony_ciProxy-Connection: Keep-Alive 11713498266Sopenharmony_ciContent-Length: 3 11813498266Sopenharmony_ci 11913498266Sopenharmony_cist 12013498266Sopenharmony_ci</protocol> 12113498266Sopenharmony_ci</verify> 12213498266Sopenharmony_ci</testcase> 123