Deprecated
(will be removed after 0.212.0) Use https://deno.land/std/http/cookie.ts instead.
import { type CookieMapOptions } from "https://deno.land/std@0.212.0/http/unstable_cookie_map.ts";
Properties
The Response
or the headers that will be used with the
response. When provided, Set-Cookie
headers will be set in the headers
when cookies are set or deleted in the map.
An alternative way to extract the headers is to pass the cookie map to the
mergeHeaders
function to merge various sources of the
headers to be provided when creating or updating a response.