Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
method HTTPRequest.prototype.headers
import { HTTPRequest } from "https://deno.land/x/pptr@1.2.0/src/HTTPRequest.ts";

Returns

Record<string, string>

an object with HTTP headers associated with the request. All header names are lower-case.