ETagOptions

import { ETagOptions } from "jsr:@ende/http";

interface

interface ETagOptions

Options for eTag.

Properties

algorithm

algorithm?: AlgorithmIdentifier

A digest algorithm to use to calculate the etag.

Default: "SHA-256"

weak

weak?: boolean

Override 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.

Source