func NewRequestSanitizer(opts ...RequestOption) RequestSanitizer {
	r := RequestSanitizer{
		DisallowedHeaders:     DefaultSanitizationDisallowedHeaders,
		DisallowedQueryParams: DefaultSanitizationDisallowedQueryParams,
		KeyValuesSanitizer:    KeyValuesSanitizerFunc(DefaultKeyValuesSanitizerFunc),
		PathSanitizer:         PathSanitizerFunc(DefaultPathSanitizerFunc),
	}
	for _, opt := range opts {
		opt(&r)
	}
	return r
}
// NewRequestSanitizer creates a new request sanitizer.
NewRequestSanitizer creates a new request sanitizer.
// NewRequestSanitizer creates a new request sanitizer .
func NewRequestSanitizer(opts ...RequestOption) RequestSanitizer {
	r := RequestSanitizer{
		DisallowedHeaders:     DefaultSanitizationDisallowedHeaders,
		DisallowedQueryParams: DefaultSanitizationDisallowedQueryParams,
		KeyValuesSanitizer:    KeyValuesSanitizerFunc(DefaultKeyValuesSanitizerFunc),
		PathSanitizer:         PathSanitizerFunc(DefaultPathSanitizerFunc),
	}
	for _, opt := range opts {
		opt(&r)
	}
	return r
}
func NewRequestSanitizer ( opts ... RequestOption ) RequestSanitizer { r := RequestSanitizer { DisallowedHeaders : DefaultSanitizationDisallowedHeaders , DisallowedQueryParams : DefaultSanitizationDisallowedQueryParams , KeyValuesSanitizer : KeyValuesSanitizerFunc ( DefaultKeyValuesSanitizerFunc ) , PathSanitizer : PathSanitizerFunc ( DefaultPathSanitizerFunc ) , } for _ , opt := range opts { opt ( & r ) } return r }
NewRequestSanitizer creates a new request sanitizer.
NewRequestSanitizer creates a new request sanitizer .