mirror of
https://github.com/curl/curl.git
synced 2026-06-23 22:25:48 +03:00
http_digest: return better error
It is not a content encoding error. Found by the GitHub AI thing. Closes #21969
This commit is contained in:
parent
08ae71f33d
commit
7f45bb8f5b
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ CURLcode Curl_input_digest(struct Curl_easy *data,
|
|||
}
|
||||
|
||||
if(!checkprefix("Digest", header) || !ISBLANK(header[6]))
|
||||
return CURLE_BAD_CONTENT_ENCODING;
|
||||
return CURLE_AUTH_ERROR;
|
||||
|
||||
header += strlen("Digest");
|
||||
curlx_str_passblanks(&header);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue