[Modify] Polish it
This commit is contained in:
parent
b811f99e03
commit
710cbbfcef
@ -192,7 +192,8 @@ namespace WebSocketSharp
|
|||||||
}
|
}
|
||||||
|
|
||||||
internal static void CloseWithAuthChallenge (
|
internal static void CloseWithAuthChallenge (
|
||||||
this HttpListenerResponse response, string challenge)
|
this HttpListenerResponse response, string challenge
|
||||||
|
)
|
||||||
{
|
{
|
||||||
response.Headers.InternalSet ("WWW-Authenticate", challenge, true);
|
response.Headers.InternalSet ("WWW-Authenticate", challenge, true);
|
||||||
response.Close (HttpStatusCode.Unauthorized);
|
response.Close (HttpStatusCode.Unauthorized);
|
||||||
|
Loading…
Reference in New Issue
Block a user