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-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)