Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
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()),
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user