fixed HTTP auth header name
This commit is contained in:
		@ -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