xref: /third_party/curl/tests/data/test579 (revision 13498266)
113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciHTTP
513498266Sopenharmony_ciHTTP POST
613498266Sopenharmony_ciHTTP Digest auth
713498266Sopenharmony_ci</keywords>
813498266Sopenharmony_ci</info>
913498266Sopenharmony_ci#
1013498266Sopenharmony_ci# Server-side
1113498266Sopenharmony_ci<reply>
1213498266Sopenharmony_ci<data>
1313498266Sopenharmony_ciHTTP/1.1 100 Continue
1413498266Sopenharmony_ciServer: Microsoft-IIS/5.0
1513498266Sopenharmony_ciDate: Sun, 03 Apr 2005 14:57:45 GMT
1613498266Sopenharmony_ciX-Powered-By: ASP.NET
1713498266Sopenharmony_ci
1813498266Sopenharmony_ciHTTP/1.1 401 authentication please swsbounce
1913498266Sopenharmony_ciServer: Microsoft-IIS/6.0
2013498266Sopenharmony_ciWWW-Authenticate: Digest realm="testrealm", nonce="1053604144"
2113498266Sopenharmony_ciContent-Type: text/html; charset=iso-8859-1
2213498266Sopenharmony_ciContent-Length: 0
2313498266Sopenharmony_ci
2413498266Sopenharmony_ci</data>
2513498266Sopenharmony_ci<data1>
2613498266Sopenharmony_ciHTTP/1.1 200 A OK
2713498266Sopenharmony_ciServer: Microsoft-IIS/6.0
2813498266Sopenharmony_ciContent-Type: text/html; charset=iso-8859-1
2913498266Sopenharmony_ciContent-Length: 3
3013498266Sopenharmony_ci
3113498266Sopenharmony_ciok
3213498266Sopenharmony_ci</data1>
3313498266Sopenharmony_ci<datacheck>
3413498266Sopenharmony_ciHTTP/1.1 100 Continue
3513498266Sopenharmony_ciServer: Microsoft-IIS/5.0
3613498266Sopenharmony_ciDate: Sun, 03 Apr 2005 14:57:45 GMT
3713498266Sopenharmony_ciX-Powered-By: ASP.NET
3813498266Sopenharmony_ci
3913498266Sopenharmony_ciHTTP/1.1 401 authentication please swsbounce
4013498266Sopenharmony_ciServer: Microsoft-IIS/6.0
4113498266Sopenharmony_ciWWW-Authenticate: Digest realm="testrealm", nonce="1053604144"
4213498266Sopenharmony_ciContent-Type: text/html; charset=iso-8859-1
4313498266Sopenharmony_ciContent-Length: 0
4413498266Sopenharmony_ci
4513498266Sopenharmony_ciHTTP/1.1 200 A OK
4613498266Sopenharmony_ciServer: Microsoft-IIS/6.0
4713498266Sopenharmony_ciContent-Type: text/html; charset=iso-8859-1
4813498266Sopenharmony_ciContent-Length: 3
4913498266Sopenharmony_ci
5013498266Sopenharmony_ciok
5113498266Sopenharmony_ci</datacheck>
5213498266Sopenharmony_ci</reply>
5313498266Sopenharmony_ci
5413498266Sopenharmony_ci# Client-side
5513498266Sopenharmony_ci<client>
5613498266Sopenharmony_ci<server>
5713498266Sopenharmony_cihttp
5813498266Sopenharmony_ci</server>
5913498266Sopenharmony_ci<features>
6013498266Sopenharmony_cicrypto
6113498266Sopenharmony_ci</features>
6213498266Sopenharmony_ci# tool is what to use instead of 'curl'
6313498266Sopenharmony_ci<tool>
6413498266Sopenharmony_cilib%TESTNUMBER
6513498266Sopenharmony_ci</tool>
6613498266Sopenharmony_ci
6713498266Sopenharmony_ci<name>
6813498266Sopenharmony_cismall chunked HTTP POSTs with digest auth. and progress callback
6913498266Sopenharmony_ci</name>
7013498266Sopenharmony_ci<command>
7113498266Sopenharmony_cihttp://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER
7213498266Sopenharmony_ci</command>
7313498266Sopenharmony_ci</client>
7413498266Sopenharmony_ci
7513498266Sopenharmony_ci#
7613498266Sopenharmony_ci# Verify data after the test has been "shot"
7713498266Sopenharmony_ci<verify>
7813498266Sopenharmony_ci<file name="%LOGDIR/ip%TESTNUMBER">
7913498266Sopenharmony_ciProgress callback called with UL 0 out of 0
8013498266Sopenharmony_ciProgress callback called with UL 8 out of 0
8113498266Sopenharmony_ciProgress callback called with UL 16 out of 0
8213498266Sopenharmony_ciProgress callback called with UL 26 out of 0
8313498266Sopenharmony_ciProgress callback called with UL 61 out of 0
8413498266Sopenharmony_ciProgress callback called with UL 66 out of 0
8513498266Sopenharmony_ci</file>
8613498266Sopenharmony_ci</verify>
8713498266Sopenharmony_ci</testcase>
88