method OakRequestResponse.prototype.removeResponseHeader
OakRequestResponse.prototype.removeResponseHeader(headerKey: string): void

Removes a specific header from the response.

Parameters

headerKey: string
  • The key of the header to be removed.

Return Type

void

Usage

import default from "types/mod.ts";