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

x/superdeno/test/deps.ts>Oak.etag.ETagOptions

Super-agent driven library for testing Deno HTTP servers.
Latest
interface Oak.etag.ETagOptions
Re-export
import { type Oak } from "https://deno.land/x/superdeno@4.9.0/test/deps.ts";
const { ETagOptions } = Oak.etag;

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.