xref: /aosp_15_r20/external/curl/tests/data/test579 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard WorkerHTTP
5*6236dae4SAndroid Build Coastguard WorkerHTTP POST
6*6236dae4SAndroid Build Coastguard WorkerHTTP Digest auth
7*6236dae4SAndroid Build Coastguard Worker</keywords>
8*6236dae4SAndroid Build Coastguard Worker</info>
9*6236dae4SAndroid Build Coastguard Worker#
10*6236dae4SAndroid Build Coastguard Worker# Server-side
11*6236dae4SAndroid Build Coastguard Worker<reply>
12*6236dae4SAndroid Build Coastguard Worker<data>
13*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 100 Continue
14*6236dae4SAndroid Build Coastguard WorkerServer: Microsoft-IIS/5.0
15*6236dae4SAndroid Build Coastguard WorkerDate: Sun, 03 Apr 2005 14:57:45 GMT
16*6236dae4SAndroid Build Coastguard WorkerX-Powered-By: ASP.NET
17*6236dae4SAndroid Build Coastguard Worker
18*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 401 authentication please swsbounce
19*6236dae4SAndroid Build Coastguard WorkerServer: Microsoft-IIS/6.0
20*6236dae4SAndroid Build Coastguard WorkerWWW-Authenticate: Digest realm="testrealm", nonce="1053604144"
21*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html; charset=iso-8859-1
22*6236dae4SAndroid Build Coastguard WorkerContent-Length: 0
23*6236dae4SAndroid Build Coastguard Worker
24*6236dae4SAndroid Build Coastguard Worker</data>
25*6236dae4SAndroid Build Coastguard Worker<data1>
26*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 A OK
27*6236dae4SAndroid Build Coastguard WorkerServer: Microsoft-IIS/6.0
28*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html; charset=iso-8859-1
29*6236dae4SAndroid Build Coastguard WorkerContent-Length: 3
30*6236dae4SAndroid Build Coastguard Worker
31*6236dae4SAndroid Build Coastguard Workerok
32*6236dae4SAndroid Build Coastguard Worker</data1>
33*6236dae4SAndroid Build Coastguard Worker<datacheck>
34*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 100 Continue
35*6236dae4SAndroid Build Coastguard WorkerServer: Microsoft-IIS/5.0
36*6236dae4SAndroid Build Coastguard WorkerDate: Sun, 03 Apr 2005 14:57:45 GMT
37*6236dae4SAndroid Build Coastguard WorkerX-Powered-By: ASP.NET
38*6236dae4SAndroid Build Coastguard Worker
39*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 401 authentication please swsbounce
40*6236dae4SAndroid Build Coastguard WorkerServer: Microsoft-IIS/6.0
41*6236dae4SAndroid Build Coastguard WorkerWWW-Authenticate: Digest realm="testrealm", nonce="1053604144"
42*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html; charset=iso-8859-1
43*6236dae4SAndroid Build Coastguard WorkerContent-Length: 0
44*6236dae4SAndroid Build Coastguard Worker
45*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 A OK
46*6236dae4SAndroid Build Coastguard WorkerServer: Microsoft-IIS/6.0
47*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html; charset=iso-8859-1
48*6236dae4SAndroid Build Coastguard WorkerContent-Length: 3
49*6236dae4SAndroid Build Coastguard Worker
50*6236dae4SAndroid Build Coastguard Workerok
51*6236dae4SAndroid Build Coastguard Worker</datacheck>
52*6236dae4SAndroid Build Coastguard Worker</reply>
53*6236dae4SAndroid Build Coastguard Worker
54*6236dae4SAndroid Build Coastguard Worker# Client-side
55*6236dae4SAndroid Build Coastguard Worker<client>
56*6236dae4SAndroid Build Coastguard Worker<server>
57*6236dae4SAndroid Build Coastguard Workerhttp
58*6236dae4SAndroid Build Coastguard Worker</server>
59*6236dae4SAndroid Build Coastguard Worker<features>
60*6236dae4SAndroid Build Coastguard Workercrypto
61*6236dae4SAndroid Build Coastguard Worker</features>
62*6236dae4SAndroid Build Coastguard Worker# tool is what to use instead of 'curl'
63*6236dae4SAndroid Build Coastguard Worker<tool>
64*6236dae4SAndroid Build Coastguard Workerlib%TESTNUMBER
65*6236dae4SAndroid Build Coastguard Worker</tool>
66*6236dae4SAndroid Build Coastguard Worker
67*6236dae4SAndroid Build Coastguard Worker<name>
68*6236dae4SAndroid Build Coastguard Workersmall chunked HTTP POSTs with digest auth. and progress callback
69*6236dae4SAndroid Build Coastguard Worker</name>
70*6236dae4SAndroid Build Coastguard Worker<command>
71*6236dae4SAndroid Build Coastguard Workerhttp://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER
72*6236dae4SAndroid Build Coastguard Worker</command>
73*6236dae4SAndroid Build Coastguard Worker</client>
74*6236dae4SAndroid Build Coastguard Worker
75*6236dae4SAndroid Build Coastguard Worker#
76*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
77*6236dae4SAndroid Build Coastguard Worker<verify>
78*6236dae4SAndroid Build Coastguard Worker<file name="%LOGDIR/ip%TESTNUMBER">
79*6236dae4SAndroid Build Coastguard WorkerProgress: start UL 0/0
80*6236dae4SAndroid Build Coastguard WorkerProgress: end UL 5/0
81*6236dae4SAndroid Build Coastguard WorkerProgress: start UL 0/0
82*6236dae4SAndroid Build Coastguard WorkerProgress: end UL 66/0
83*6236dae4SAndroid Build Coastguard Worker</file>
84*6236dae4SAndroid Build Coastguard Worker</verify>
85*6236dae4SAndroid Build Coastguard Worker</testcase>
86