From 507e4ce174cc03aa93c10c77f72659c7d1011327 Mon Sep 17 00:00:00 2001 From: Lars Trieloff Date: Mon, 25 Feb 2019 00:14:40 -0800 Subject: [PATCH] Force status code 200 for OK responses, fixes #585 (#586) --- static.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static.js b/static.js index 39932534..f1c0e4a0 100644 --- a/static.js +++ b/static.js @@ -124,6 +124,7 @@ function deliverPlain(owner, repo, ref, entry, root) { const body = getBody(type, response.body); console.log(`delivering file ${cleanentry} type ${type} binary: ${isBinary(type)}`); return { + statusCode: 200, headers: addHeaders({ 'Content-Type': type, 'X-Static': 'Raw/Static',