From ed1009d6b8486b343e0127e5babf70ae07109f4f Mon Sep 17 00:00:00 2001 From: Kevin Tong Date: Mon, 24 Oct 2022 19:16:20 -0400 Subject: [PATCH] Fix HEAD promise method incorrectly calling DELETE --- src/Proyecto26.RestClient/RestClientPromise.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Proyecto26.RestClient/RestClientPromise.cs b/src/Proyecto26.RestClient/RestClientPromise.cs index b0e92f2..84ff3ae 100644 --- a/src/Proyecto26.RestClient/RestClientPromise.cs +++ b/src/Proyecto26.RestClient/RestClientPromise.cs @@ -381,7 +381,7 @@ public static IPromise Delete(RequestHelper options) /// A string containing the URL to which the request is sent. public static IPromise Head(string url) { - return Delete(new RequestHelper { Uri = url }); + return Head(new RequestHelper { Uri = url }); } ///