diff --git a/websocket-sharp/HttpResponse.cs b/websocket-sharp/HttpResponse.cs index 4c4a7b91..63488e89 100644 --- a/websocket-sharp/HttpResponse.cs +++ b/websocket-sharp/HttpResponse.cs @@ -86,6 +86,12 @@ namespace WebSocketSharp } } + public bool IsMoved { + get { + return _code == "301"; + } + } + public bool IsProxyAuthenticationRequired { get { return _code == "407";