ETagOptions
import { ETagOptions } from "jsr:@ende/http";interface
interface ETagOptionsOptions for eTag.
Properties
algorithm
algorithm?: AlgorithmIdentifierA digest algorithm to use to calculate the etag.
Default: "SHA-256"
weak
weak?: booleanOverride the default behavior of calculating the ETag, either forcing
a tag to be labelled weak or not.
Defaults to true when the entity is a FileInfo and false otherwise.