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 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
\r
77 Content-Type: application/x-www-form-urlencoded
\r
80 Host: %HOSTIP:%HTTPPORT
\r
81 Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/1284", response="5763079608de439072861a59ac733515"
\r
84 Content-Type: application/x-www-form-urlencoded
\r