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

std/http/mod.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.206.0/http/mod.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.