# Functions

FilterMethods takes an array of strings and returns any that are HTTP methods snippet-start:[s3.go.put_bucket_cors.filter].
SetCors configures CORS rules for a bucket by setting the allowed HTTP methods.