R/custom_dynamodb.R

Defines functions dynamodb disable_compression

#' @include service.R
NULL

disable_compression <- function(request) {
  request$http_request$header["Accept-Encoding"] <- "identity"
  return(request)
}

customizations$dynamodb <- function(handlers) {
  handlers$build <- handlers_add_back(handlers$build, disable_compression)
  handlers
}

Try the paws.common package in your browser

Any scripts or data that you put into this service are public.

paws.common documentation built on March 26, 2022, 5:05 p.m.