Skip to main content
Module

std/http/mod.ts>ETagOptions

Deno standard library
Go to Latest
interface ETagOptions
import { type ETagOptions } from "https://deno.land/std@0.221.0/http/mod.ts";

Options for calculate.

Properties

optional
algorithm: AlgorithmIdentifier = "SHA-256"

A digest algorithm to use to calculate the etag.

optional
weak: boolean

Override the default behavior of calculating the ETag, either forcing a tag to be labelled weak or not.