[Modify] 501

This commit is contained in:
sta 2021-01-26 21:55:23 +09:00
parent af8f3303fc
commit 4c32647993

View File

@ -829,6 +829,7 @@ namespace WebSocketSharp.Net
if (!method.IsHttpMethod (ver)) { if (!method.IsHttpMethod (ver)) {
_context.ErrorMessage = "Invalid request line (method)"; _context.ErrorMessage = "Invalid request line (method)";
_context.ErrorStatusCode = 501;
return; return;
} }