Remove previously obsoleted IConnection.GetRedirect and IApiConnection.GetRedirect methods

This commit is contained in:
Ryan Gribble
2016-09-06 23:13:51 +10:00
parent 6042a12983
commit 9d22ed4b1c
3 changed files with 0 additions and 42 deletions
-11
View File
@@ -320,17 +320,6 @@ namespace Octokit
/// <returns>The returned <seealso cref="HttpStatusCode"/></returns>
Task Delete(Uri uri, object data, string accepts);
/// <summary>
/// Executes a GET to the API object at the specified URI. This operation is appropriate for
/// API calls which wants to return the redirect URL.
/// It expects the API to respond with a 302 Found.
/// </summary>
/// <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")]
Task<string> GetRedirect(Uri uri);
/// <summary>
/// Executes a GET to the API object at the specified URI. This operation is appropriate for API calls which
/// queue long running calculations and return a collection of a resource.