From 3cc62a35904deb7f42007ce2c38ace2e59666a6f Mon Sep 17 00:00:00 2001 From: sta Date: Sat, 13 Dec 2014 12:21:10 +0900 Subject: [PATCH] Removed the IsMoved property --- websocket-sharp/HttpResponse.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/websocket-sharp/HttpResponse.cs b/websocket-sharp/HttpResponse.cs index 63488e89..d7a65c9f 100644 --- a/websocket-sharp/HttpResponse.cs +++ b/websocket-sharp/HttpResponse.cs @@ -86,12 +86,6 @@ namespace WebSocketSharp } } - public bool IsMoved { - get { - return _code == "301"; - } - } - public bool IsProxyAuthenticationRequired { get { return _code == "407"; @@ -100,7 +94,7 @@ namespace WebSocketSharp public bool IsRedirect { get { - return _code == "302"; + return _code == "301" || _code == "302"; } }