This commit is contained in:
Jason 2022-02-19 00:10:57 -05:00
parent 82f5f76588
commit 2c06fed426
25 changed files with 1131 additions and 604 deletions

View file

@ -1,7 +1,7 @@
export function prepareResponse({ headers, statusCode, statusMessage }) {
const sendHeaders = {
'x-bare-headers': JSON.stringify(headers),
'x-bare-status': statusCode,
'x-bare-status': statusCode.toString(),
'x-bare-status-text': statusMessage,
};