Module: HTTPX::Plugins::ContentDigest::OptionsMethods

Defined in:
lib/httpx/plugins/content_digest.rb

Overview

add support for the following options:

:content_digest_algorithm

the digest algorithm to use. Currently supports sha-256 and sha-512. (defaults to sha-256)

:encode_content_digest

whether a Content-Digest header should be computed for the request; can also be a callable object (i.e. ->(req) { ... }, defaults to true)

:validate_content_digest

whether a Content-Digest header in the response should be validated; can also be a callable object (i.e. ->(res) { ... }, defaults to false)