fixed HTTP auth header name
This commit is contained in:
parent
6142a1100c
commit
767b660a22
@ -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()),
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user