[Modify] Remove it
This commit is contained in:
parent
38dd04a9c1
commit
2d41e3478e
@ -185,14 +185,6 @@ namespace WebSocketSharp
|
|||||||
response.OutputStream.Close ();
|
response.OutputStream.Close ();
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static void CloseWithAuthChallenge (
|
|
||||||
this HttpListenerResponse response, string challenge
|
|
||||||
)
|
|
||||||
{
|
|
||||||
response.Headers.InternalSet ("WWW-Authenticate", challenge, true);
|
|
||||||
response.Close (HttpStatusCode.Unauthorized);
|
|
||||||
}
|
|
||||||
|
|
||||||
internal static byte[] Compress (this byte[] data, CompressionMethod method)
|
internal static byte[] Compress (this byte[] data, CompressionMethod method)
|
||||||
{
|
{
|
||||||
return method == CompressionMethod.Deflate
|
return method == CompressionMethod.Deflate
|
||||||
|
Loading…
Reference in New Issue
Block a user