[Modify] 501
This commit is contained in:
parent
af8f3303fc
commit
4c32647993
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user