std/http/util.ts

Deno standard library
Go to Latest
function compareEtag
import { compareEtag } from "https://deno.land/std@0.147.0/http/util.ts?s=compareEtag";

Returns true if the etags match. Weak etag comparisons are handled.

Parameters

a: string[src]
b: string[src]