Skip to content

Commit

Permalink
fix digest auth parse (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
imroc committed May 31, 2024
1 parent e364972 commit 682cde2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions digest.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ func parseChallenge(input string) (*challenge, error) {
case "opaque":
c.opaque = strings.Trim(r[1], qs)
case "stale":
c.stale = r[1]
c.stale = strings.Trim(r[1], qs)
case "algorithm":
c.algorithm = r[1]
c.algorithm = strings.Trim(r[1], qs)
case "qop":
c.qop = strings.Trim(r[1], qs)
case "charset":
Expand Down

0 comments on commit 682cde2

Please sign in to comment.