Skip to main content
Http2ServerResponse.prototype.removeHeader - node__http2.d.ts - Node documentation
method Http2ServerResponse.prototype.removeHeader

Usage in Deno

```typescript import { Http2ServerResponse } from "node:node__http2.d.ts"; ```
Http2ServerResponse.prototype.removeHeader(name: string): void
Removes a header that has been queued for implicit sending. ```js response.removeHeader('Content-Encoding'); ```

Parameters

name: string

Return Type

void