When a server offered both qop=auth and qop=auth-int, the client chose
auth-int, which hashes req.body. That is empty when a content provider
streams the body, so the response was wrong and the request failed. A
challenge whose qop offered neither option (e.g. only auth-conf) was
answered without qop, although RFC 7616 makes qop mandatory and has the
client use the first challenge it supports.
select_digest_qop() now picks auth over auth-int, as curl does, and
parse_www_authenticate() treats a challenge whose qop offers neither as
unanswerable, so a later challenge is used or the 401 is returned. A
challenge without qop is still answered in the RFC 2069 form.