From 2e7904856364f64a601058e5d61d46a5e9e08751 Mon Sep 17 00:00:00 2001 From: Randall Schmidt Date: Sat, 28 Nov 2020 11:02:55 -0500 Subject: [PATCH] add raw headers function --- classes/headers.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/classes/headers.js b/classes/headers.js index a2c61ed..c9967fc 100644 --- a/classes/headers.js +++ b/classes/headers.js @@ -22,6 +22,10 @@ class Headers { has(name) { return !!this.get(name); } + + raw() { + return this.rawHeaders; + } } module.exports = Headers;