[Modify] Polish it
This commit is contained in:
parent
bd778b45d4
commit
835820f2c3
@ -740,7 +740,11 @@ namespace WebSocketSharp.Net
|
|||||||
|
|
||||||
var enc = _contentEncoding ?? Encoding.Default;
|
var enc = _contentEncoding ?? Encoding.Default;
|
||||||
var writer = new StreamWriter (destination, enc, 256);
|
var writer = new StreamWriter (destination, enc, 256);
|
||||||
writer.Write ("HTTP/{0} {1} {2}\r\n", _version, _statusCode, _statusDescription);
|
|
||||||
|
writer.Write (
|
||||||
|
"HTTP/{0} {1} {2}\r\n", _version, _statusCode, _statusDescription
|
||||||
|
);
|
||||||
|
|
||||||
writer.Write (headers.ToStringMultiValue (true));
|
writer.Write (headers.ToStringMultiValue (true));
|
||||||
writer.Flush ();
|
writer.Flush ();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user