Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/http/etag.ts>ETagOptions

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface ETagOptions
import { type ETagOptions } from "https://deno.land/std@0.211.0/http/etag.ts";

Properties

optional
algorithm: AlgorithmIdentifier

A digest algorithm to use to calculate the etag. Defaults to "FNV32A".

optional
weak: boolean

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