parsing fix.
This commit is contained in:
parent
1d650d449e
commit
9fec1491e7
@ -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.
|
||||||
|
|||||||
Loading…
Reference in New Issue
user.block.title