removed obsolete member AllowAutoRedirect

This commit is contained in:
Brendan Forster
2015-12-08 11:25:35 +10:30
parent 92db29e26f
commit 01eb558a9e
3 changed files with 0 additions and 7 deletions

View File

@@ -19,7 +19,6 @@ public class HttpClientAdapterTests
{ {
BaseAddress = new Uri("https://github.global.ssl.fastly.net/", UriKind.Absolute), BaseAddress = new Uri("https://github.global.ssl.fastly.net/", UriKind.Absolute),
Endpoint = new Uri("/images/icons/emoji/poop.png?v=5", UriKind.RelativeOrAbsolute), Endpoint = new Uri("/images/icons/emoji/poop.png?v=5", UriKind.RelativeOrAbsolute),
AllowAutoRedirect = true,
Method = HttpMethod.Get Method = HttpMethod.Get
}; };
@@ -41,7 +40,6 @@ public class HttpClientAdapterTests
{ {
BaseAddress = new Uri("https://github.global.ssl.fastly.net/", UriKind.Absolute), BaseAddress = new Uri("https://github.global.ssl.fastly.net/", UriKind.Absolute),
Endpoint = new Uri("/images/icons/emoji/poop.png?v=5", UriKind.RelativeOrAbsolute), Endpoint = new Uri("/images/icons/emoji/poop.png?v=5", UriKind.RelativeOrAbsolute),
AllowAutoRedirect = true,
Method = HttpMethod.Get, Method = HttpMethod.Get,
Timeout = TimeSpan.FromMilliseconds(10) Timeout = TimeSpan.FromMilliseconds(10)
}; };

View File

@@ -14,7 +14,5 @@ namespace Octokit.Internal
Uri Endpoint { get; } Uri Endpoint { get; }
TimeSpan Timeout { get; } TimeSpan Timeout { get; }
string ContentType { get; } string ContentType { get; }
[Obsolete("This value is no longer respected due to the necessary redirect work")]
bool AllowAutoRedirect { get; }
} }
} }

View File

@@ -22,8 +22,5 @@ namespace Octokit.Internal
public Uri Endpoint { get; set; } public Uri Endpoint { get; set; }
public TimeSpan Timeout { get; set; } public TimeSpan Timeout { get; set; }
public string ContentType { get; set; } public string ContentType { get; set; }
[Obsolete("This value is no longer respected due to the necessary redirect work")]
public bool AllowAutoRedirect { get; set; }
} }
} }