We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8534915 + d595c54 commit eba8c69Copy full SHA for eba8c69
authentication.go
@@ -112,7 +112,7 @@ func (s *AuthenticationService) digestAuthHeader(response *http.Response) (strin
112
113
// A2
114
h = md5.New()
115
- A2 := fmt.Sprintf("GET:%s", uriHeader)
+ A2 := fmt.Sprintf("%s:%s", response.Request.Method, uriHeader)
116
io.WriteString(h, A2)
117
HA2 := fmt.Sprintf("%x", h.Sum(nil))
118
0 commit comments