[Modify] Polish it

This commit is contained in:
sta 2017-07-08 14:53:49 +09:00
parent b23054594d
commit 8876b63a1e

View File

@ -920,7 +920,7 @@ namespace WebSocketSharp.Server
if (evt != null) if (evt != null)
evt (this, new HttpRequestEventArgs (context, _docRootPath)); evt (this, new HttpRequestEventArgs (context, _docRootPath));
else else
context.Response.StatusCode = (int) HttpStatusCode.NotImplemented; context.Response.StatusCode = 501; // Not Implemented
context.Response.Close (); context.Response.Close ();
} }