Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/http/mod.ts>ETagOptions

The Deno Standard Library
Go to Latest
interface ETagOptions
import { type ETagOptions } from "https://deno.land/std@0.223.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.