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

x/cav/test/test_deps.ts>http.deleteCookie

A server framework for Deno
Go to Latest
function http.deleteCookie
import { http } from "https://deno.land/x/cav@0.0.24/test/test_deps.ts";
const { deleteCookie } = http;

Set the cookie header with empty value in the headers to delete it

Parameters

headers: Headers

The headers instance to delete the cookie from

name: string

Name of cookie

optional
attributes: { path?: string; domain?: string; }

Additional cookie attributes