From e345d59f9f1500c8e83ae7cccc640fdc96c3fcc2 Mon Sep 17 00:00:00 2001 From: "Ricardo (XenGi) Band" Date: Thu, 14 Jul 2022 13:21:27 +0200 Subject: [PATCH] also remove cookie info from headers --- src/response/request.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/response/request.js b/src/response/request.js index 24d3c0f..3f9e1f1 100644 --- a/src/response/request.js +++ b/src/response/request.js @@ -11,6 +11,7 @@ module.exports = (req) => { headers: req.headers } } else { + delete req.headers["cookie"]; return { params: req.params, query: req.query,