# OPTIONS
opts_object <- function(object, bucket, ...) {
if (missing(bucket)) {
bucket <- get_bucketname(object)
}
object <- get_objectkey(object)
r <- s3HTTP(verb = "OPTIONS",
bucket = bucket,
path = paste0("/", object),
...)
return(r)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.