[Modify] Polish it
This commit is contained in:
parent
3088a51a6b
commit
bdcf479931
@ -619,7 +619,10 @@ namespace WebSocketSharp.Net
|
||||
res.ContentType = "text/html";
|
||||
|
||||
var content = new StringBuilder (64);
|
||||
content.AppendFormat ("<html><body><h1>{0} {1}", status, res.StatusDescription);
|
||||
content.AppendFormat (
|
||||
"<html><body><h1>{0} {1}", status, res.StatusDescription
|
||||
);
|
||||
|
||||
if (message != null && message.Length > 0)
|
||||
content.AppendFormat (" ({0})</h1></body></html>", message);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user