[Modify] Polish it
This commit is contained in:
parent
b23054594d
commit
8876b63a1e
@ -920,7 +920,7 @@ namespace WebSocketSharp.Server
|
||||
if (evt != null)
|
||||
evt (this, new HttpRequestEventArgs (context, _docRootPath));
|
||||
else
|
||||
context.Response.StatusCode = (int) HttpStatusCode.NotImplemented;
|
||||
context.Response.StatusCode = 501; // Not Implemented
|
||||
|
||||
context.Response.Close ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user