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

x/opine/src/response.ts>Response#removeHeader

Fast, minimalist web framework for Deno ported from ExpressJS.
Very Popular
Go to Latest
method Response.prototype.removeHeader
import { Response } from "https://deno.land/x/opine@2.2.0/src/response.ts";

Remove a header from the response

Examples:

res.removeHeader('Accept');

Parameters

field: string

Returns

this

for chaining