parsing fix.

This commit is contained in:
Lucca Faria Ferri 2023-02-10 10:15:42 -08:00
parent 1d650d449e
commit 9fec1491e7

View File

@ -67,7 +67,7 @@ namespace DiIiS_NA.REST
else else
{ {
#if DEBUG #if DEBUG
Logger.Info($"$[red]$[404] REST Request: $[/]$ {httpRequest.Method.SafeAnsi()} {httpRequest.Path.SafeAnsi()}"); Logger.Info($"$[red]$404 - REST Request: $[/]$ {httpRequest.Method.SafeAnsi()} {httpRequest.Path.SafeAnsi()}");
SendResponseHtml(HttpCode.NotFound, "404 Not Found"); SendResponseHtml(HttpCode.NotFound, "404 Not Found");
#else #else
// sends 502 Bad Gateway to the client to prevent the client from trying to connect to the server again - in case it's a crawler or bad bot. // sends 502 Bad Gateway to the client to prevent the client from trying to connect to the server again - in case it's a crawler or bad bot.