fix else formatting

This commit is contained in:
Joshua Fontany 2024-04-10 18:36:43 -07:00
parent 00bb39ea4a
commit c7ca6c7a24
1 changed files with 1 additions and 3 deletions

View File

@ -140,9 +140,7 @@ function sendResponse(request,response,statusCode,headers,data,encoding) {
return;
}
}
}
else
{
} else {
// RFC 7231, 6.1. Overview of Status Codes:
// Browser clients may cache 200, 203, 204, 206, 300, 301,
// 404, 405, 410, 414, and 501 unless given explicit cache controls