Skip to main content
Http2ServerResponse.prototype.sendDate - node__http2.d.ts - Node documentation
property Http2ServerResponse.prototype.sendDate

Usage in Deno

```typescript import { Http2ServerResponse } from "node:node__http2.d.ts"; ```
When true, the Date header will be automatically generated and sent in the response if it is not already present in the headers. Defaults to true. This should only be disabled for testing; HTTP requires the Date header in responses.

Type

boolean