13 HTTP/1.1 401 authentication please swsbounce
14 Server: Microsoft-IIS/6.0
15 WWW-Authenticate: Digest realm="testrealm", nonce="1053604144", algorithm="SHA-512-256"
16 Content-Type: text/html; charset=iso-8859-1
22 Server: Microsoft-IIS/6.0
23 Content-Type: text/html; charset=iso-8859-1
30 HTTP/1.1 401 authentication please swsbounce
31 Server: Microsoft-IIS/6.0
32 WWW-Authenticate: Digest realm="testrealm", nonce="1053604144", algorithm="SHA-512-256"
33 Content-Type: text/html; charset=iso-8859-1
37 Server: Microsoft-IIS/6.0
38 Content-Type: text/html; charset=iso-8859-1
57 HTTP POST --digest with SHA-512-256, userhash=false and 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: 11" -u auser:apasswd --digest -d "junkelijunk" http://%HOSTIP:%HTTPPORT/2068
67 # Verify data after the test has been "shot"
72 <protocol nonewline="yes">
74 Host: %HOSTIP:%HTTPPORT
77 Content-Type: application/x-www-form-urlencoded
80 Host: %HOSTIP:%HTTPPORT
81 Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/2068", response="4bc9c97a72f1856bcec9b0e1518c6b7ee28773f91357d56840bdc30bd89ca68f", algorithm="SHA-512-256"
84 Content-Type: application/x-www-form-urlencoded