[Modify] Polish it
This commit is contained in:
parent
bbd545d657
commit
fe4b95a2d5
@ -236,7 +236,7 @@ namespace WebSocketSharp.Net
|
|||||||
);
|
);
|
||||||
|
|
||||||
var enc = Encoding.UTF8;
|
var enc = Encoding.UTF8;
|
||||||
var entity = enc.GetBytes (content.ToString ());
|
var entity = enc.GetBytes (content);
|
||||||
_response.ContentEncoding = enc;
|
_response.ContentEncoding = enc;
|
||||||
_response.ContentLength64 = entity.LongLength;
|
_response.ContentLength64 = entity.LongLength;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user