responseHeadersNeverPass constant
Headers in the response which are never passed through to the client.
Important: these must be in all lowercase, otherwise matching won't work.
Implementation
static const List<String> responseHeadersNeverPass = [
'content-type', // content-type will be recreated for the response
'connection', // HTTP/1.1 keep-alive is not supported
'keep-alive',
'transfer-encoding',
'trailer',
'proxy-authenticate',
];