fixed HTTP auth header name

This commit is contained in:
Tordarus 2025-02-12 13:22:24 +01:00
parent 6142a1100c
commit 767b660a22

View File

@ -154,8 +154,8 @@ func HeadersMap(headers map[string]string) RequestModifier {
func Auth(auth AuthProvider) RequestModifier {
return chainMods(
RemoveHeaders("Authentication"),
Headers("Authentication", auth()),
RemoveHeaders("Authorization"),
Headers("Authorization", auth()),
)
}