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

x/pptr/mod.ts>HTTPRequest#headers

Headless Chrome Deno API
Latest
method HTTPRequest.prototype.headers
Re-export
import { HTTPRequest } from "https://deno.land/x/pptr@1.2.0/mod.ts";

Returns

Record<string, string>

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