13 HTTP/1.1 401 authentication please swsbounce
14 Server: Microsoft-IIS/6.0
15 WWW-Authenticate: Digest realm="testrealm", nonce="1053604144"
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"
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 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/1284
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="/1284", response="5763079608de439072861a59ac733515"
84 Content-Type: application/x-www-form-urlencoded