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:
Brendan Forster
2015-12-09 17:06:13 +10:30
parent 9367001894
commit f63690c4d3
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -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");