Skip to main content
Http2ServerResponse.prototype.removeHeader - http2 - Node documentation
method Http2ServerResponse.prototype.removeHeader

Usage in Deno

import { Http2ServerResponse } from "node:http2";
Http2ServerResponse.prototype.removeHeader(name: string): void

Removes a header that has been queued for implicit sending.

response.removeHeader('Content-Encoding');

Parameters

name: string

Return Type

void