Skip to content

Commit

Permalink
Fix HEAD promise method incorrectly calling DELETE
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevinsomnia committed Oct 24, 2022
1 parent 3cf90c1 commit ed1009d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Proyecto26.RestClient/RestClientPromise.cs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public static IPromise<ResponseHelper> Delete(RequestHelper options)
/// <param name="url">A string containing the URL to which the request is sent.</param>
public static IPromise<ResponseHelper> Head(string url)
{
return Delete(new RequestHelper { Uri = url });
return Head(new RequestHelper { Uri = url });
}

/// <summary>
Expand Down

0 comments on commit ed1009d

Please sign in to comment.