[Modify] Polish it

This commit is contained in:
sta 2018-03-18 17:32:57 +09:00
parent 0e75c9fddd
commit 3b9c76d19f

View File

@ -784,11 +784,6 @@ namespace WebSocketSharp.Net
return;
}
if (!method.IsToken ()) {
_context.ErrorMessage = "Invalid request line (method)";
return;
}
var target = parts[1];
if (target.Length == 0) {
_context.ErrorMessage = "Invalid request line (target)";