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", userhash=true
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", userhash=true
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=true 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/2069
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="fddc3bc7b753b73ab0848fd83cb20cbbca971258eb8d20c941dd5e0b010d66be", realm="testrealm", nonce="1053604144", uri="/2069", response="ff13d977110a471f30de75e747976e4de78d7a3d2425cd23ff46e67f4bc9ead7", algorithm="SHA-512-256", userhash=true
84 Content-Type: application/x-www-form-urlencoded