Sha256: 4dfa19d5a1fb9fb8a965db525ca4f9d53281e610531ff6d2b7aeea5f96bec6b2
Contents?: true
Size: 433 Bytes
Versions: 65
Compression:
Stored size: 433 Bytes
Contents
# frozen_string_literal: true module Aws module APIGateway module Plugins # @api private class ApplyContentTypeHeader < Seahorse::Client::Plugin class Handler < Seahorse::Client::Handler def call(context) context.http_request.headers['Accept'] = 'application/json' @handler.call(context) end end handler(Handler) end end end end
Version data entries
65 entries across 65 versions & 1 rubygems