Http2ServerResponse.prototype.sendDate - Node documentation
property Http2ServerResponse.prototype.sendDate

Usage in Deno

import { Http2ServerResponse } from "node:http2";

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