wood/protector.go
func DefaultProtector() func(http.Handler) http.Handler {
	return NewProtector("8M", cors.Options{
		AllowedOrigins: []string{"*"},
		AllowedHeaders: []string{"Origin", "Accept", "Content-Type", "Authorization"},
		AllowedMethods: []string{"GET", "POST", "PATCH", "DELETE"},
	})
}
func DefaultProtector() func(http.Handler) http.Handler {
	return NewProtector("8M", cors.Options{
		AllowedOrigins: []string{"*"},
		AllowedHeaders: []string{"Origin", "Accept", "Content-Type", "Authorization"},
		AllowedMethods: []string{"GET", "POST", "PATCH", "DELETE"},
	})
}
// DefaultProtector constructs a middleware that by default limits the request
// body size to 8M and sets a basic CORS configuration.
//
// Note: Place the protector as early as possible in the handler chain.