diff --git a/index.js b/index.js index 9579654..8ec530f 100644 --- a/index.js +++ b/index.js @@ -107,6 +107,7 @@ async function service (req, res) { body: (req.method !== 'GET' && req.method !== 'HEAD') ? req : undefined } ) + res.statusCode = f.status for (let h of exposeHeaders) { if (h === 'content-length') continue if (f.headers.has(h)) {