response.sendDate


当为 true 时,如果响应头里没有日期响应头,则日期响应头会被自动生成并发送。默认为 true

该属性只可在测试时被禁用,因为 HTTP 响应需要包含日期响应头。

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.