mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 03:55:55 +00:00
obsolete a range of methods around GetArchiveLink
Due to how the default HttpClientAdapter of Octokit will follow redirects by default, this API is no longer working. Marking it as obsolete.
This commit is contained in:
@@ -408,6 +408,7 @@ namespace Octokit
|
||||
/// <param name="uri">URI of the API resource to get</param>
|
||||
/// <returns>The URL returned by the API in the Location header</returns>
|
||||
/// <exception cref="ApiException">Thrown when an API error occurs, or the API does not respond with a 302 Found</exception>
|
||||
[Obsolete("Octokit's HTTP library now follows redirects by default - this API will be removed in a future release")]
|
||||
public async Task<string> GetRedirect(Uri uri)
|
||||
{
|
||||
Ensure.ArgumentNotNull(uri, "uri");
|
||||
|
||||
Reference in New Issue
Block a user