Simple: You don't.
Those headers are part of the HTTP grammar. If you removed them, your response would no longer be valid.
Hypertext Transfer Protocol - Wikipedia
List of HTTP header fields - Wikipedia
You can change
headers by setting the CacheControl
] property on the response.
headers will be set by the response formatter. They cannot be changed or removed, since that would break the response.
is set automatically, and cannot be changed or removed.