func (rs RequestSanitizer) IsHeaderDisallowed(header string) bool {
	for _, disallowedHeader := range rs.DisallowedHeaders {
		if strings.EqualFold(disallowedHeader, header) {
			return true
		}
	}
	return false
}
// IsHeaderDisallowed returns if a header is in the disallowed list.
IsHeaderDisallowed returns if a header is in the disallowed list.
// IsHeaderDisallowed returns if a header is in the disallowed list .
func (rs RequestSanitizer) IsHeaderDisallowed(header string) bool {
	for _, disallowedHeader := range rs.DisallowedHeaders {
		if strings.EqualFold(disallowedHeader, header) {
			return true
		}
	}
	return false
}
func ( rs RequestSanitizer ) IsHeaderDisallowed ( header string ) bool { for _ , disallowedHeader := range rs . DisallowedHeaders { if strings . EqualFold ( disallowedHeader , header ) { return true } } return false }
IsHeaderDisallowed returns if a header is in the disallowed list.
IsHeaderDisallowed returns if a header is in the disallowed list .