From e0a4da2238b56823e9c693536783ac9a0314fd18 Mon Sep 17 00:00:00 2001 From: Todd Date: Fri, 27 Oct 2023 10:06:08 -0500 Subject: [PATCH] woops --- src/Flurl.Http/FlurlHttp.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Flurl.Http/FlurlHttp.cs b/src/Flurl.Http/FlurlHttp.cs index e7e048f5..937f5dd4 100644 --- a/src/Flurl.Http/FlurlHttp.cs +++ b/src/Flurl.Http/FlurlHttp.cs @@ -26,10 +26,7 @@ public static class FlurlHttp /// /// Gets or creates the IFlurlClient that would be selected for sending the given IFlurlRequest when the clientless pattern is used. /// - public static IFlurlClient GetClientForRequest(IFlurlRequest req) { - throw new Exception("here"); - //return Clients.Get(_cachingStrategy(req)); - } + public static IFlurlClient GetClientForRequest(IFlurlRequest req) => Clients.Get(_cachingStrategy(req)); /// /// Sets a global caching strategy for getting or creating an IFlurlClient instance when the clientless pattern is used, e.g. url.GetAsync.