fix: no longer give up on detecting auth type when getting a 401 (#391)

This commit is contained in:
Brendan Le Glaunec
2026-02-01 20:59:26 +01:00
committed by GitHub
parent 777bd2a488
commit af41fc6cb8
7 changed files with 406 additions and 75 deletions
+2 -1
View File
@@ -9,7 +9,8 @@ type AuthType int
// Supported authentication methods.
const (
AuthNone AuthType = iota
AuthUnknown AuthType = iota
AuthNone
AuthBasic
AuthDigest
)