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 {
|
func Auth(auth AuthProvider) RequestModifier {
|
||||||
return chainMods(
|
return chainMods(
|
||||||
RemoveHeaders("Authentication"),
|
RemoveHeaders("Authorization"),
|
||||||
Headers("Authentication", auth()),
|
Headers("Authorization", auth()),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user