[Modify] Polish it

master
sta 9 years ago
parent b23054594d
commit 8876b63a1e

@ -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 ();
} }

Loading…
Cancel
Save