mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-05 23:06:10 +00:00
removed obsolete member AllowAutoRedirect
This commit is contained in:
@@ -19,7 +19,6 @@ public class HttpClientAdapterTests
|
||||
{
|
||||
BaseAddress = new Uri("https://github.global.ssl.fastly.net/", UriKind.Absolute),
|
||||
Endpoint = new Uri("/images/icons/emoji/poop.png?v=5", UriKind.RelativeOrAbsolute),
|
||||
AllowAutoRedirect = true,
|
||||
Method = HttpMethod.Get
|
||||
};
|
||||
|
||||
@@ -41,7 +40,6 @@ public class HttpClientAdapterTests
|
||||
{
|
||||
BaseAddress = new Uri("https://github.global.ssl.fastly.net/", UriKind.Absolute),
|
||||
Endpoint = new Uri("/images/icons/emoji/poop.png?v=5", UriKind.RelativeOrAbsolute),
|
||||
AllowAutoRedirect = true,
|
||||
Method = HttpMethod.Get,
|
||||
Timeout = TimeSpan.FromMilliseconds(10)
|
||||
};
|
||||
|
||||
@@ -14,7 +14,5 @@ namespace Octokit.Internal
|
||||
Uri Endpoint { get; }
|
||||
TimeSpan Timeout { get; }
|
||||
string ContentType { get; }
|
||||
[Obsolete("This value is no longer respected due to the necessary redirect work")]
|
||||
bool AllowAutoRedirect { get; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,8 +22,5 @@ namespace Octokit.Internal
|
||||
public Uri Endpoint { get; set; }
|
||||
public TimeSpan Timeout { 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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user