13 HTTP/1.1 401 authentication please swsbounce
\r
14 Server: Microsoft-IIS/6.0
\r
15 WWW-Authenticate: Digest realm="testrealm", nonce="1053604144"
\r
16 Content-Type: text/html; charset=iso-8859-1
\r
22 Server: Microsoft-IIS/6.0
\r
23 Content-Type: text/html; charset=iso-8859-1
\r
30 HTTP/1.1 401 authentication please swsbounce
\r
31 Server: Microsoft-IIS/6.0
\r
32 WWW-Authenticate: Digest realm="testrealm", nonce="1053604144"
\r
33 Content-Type: text/html; charset=iso-8859-1
\r
37 Server: Microsoft-IIS/6.0
\r
38 Content-Type: text/html; charset=iso-8859-1
\r
57 HTTP PUT --digest with user-specified Content-Length header
59 # This test is to ensure 'Content-Length: 0' is sent while negotiating auth
60 # even when there is a user-specified Content-Length header.
61 # https://github.com/curl/curl/pull/1242
63 -H "Content-Length: 85" -u auser:apasswd --digest -T log/put1285 http://%HOSTIP:%HTTPPORT/1285
65 <file name="log/put1285">
66 This is data we upload with PUT
69 four is the number of lines
73 # Verify data after the test has been "shot"
80 Host: %HOSTIP:%HTTPPORT
\r
85 Host: %HOSTIP:%HTTPPORT
\r
86 Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/1285", response="dc185587d5e8391b347eef194c2a3cd6"
\r
89 Expect: 100-continue
\r
91 This is data we upload with PUT
94 four is the number of lines