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-256andsha-512. (defaults tosha-256) - :encode_content_digest
-
whether a
Content-Digestheader should be computed for the request; can also be a callable object (i.e.->(req) { ... }, defaults totrue) - :validate_content_digest
-
whether a
Content-Digestheader in the response should be validated; can also be a callable object (i.e.->(res) { ... }, defaults tofalse)