We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 451723b commit 07668f6Copy full SHA for 07668f6
src/server.ts
@@ -93,10 +93,14 @@ export function getServer(
93
// Subsequent parsers will be skipped when one is matched.
94
app.use(bodyParser.raw(rawBodySavingOptions));
95
app.enable('trust proxy'); // To respect X-Forwarded-For header.
96
+
97
// Disable Express 'x-powered-by' header:
98
// http://expressjs.com/en/advanced/best-practice-security.html#at-a-minimum-disable-x-powered-by-header
99
app.disable('x-powered-by');
100
101
+ // Disable Express eTag response header
102
+ app.disable('etag');
103
104
if (
105
functionSignatureType === 'event' ||
106
functionSignatureType === 'cloudevent'
0 commit comments