Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/keywork/http/headers/mod.ts>mergeHeaders

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Latest
function mergeHeaders
import { mergeHeaders } from "https://deno.land/x/keywork@v6.2.1/http/headers/mod.ts";

Merges the given source headers into the destination.

This mutates the destination headers.

Parameters

destination: Headers
...sources: Headers[]