Skip to content

Commit

Permalink
remove HttpVersion from clientbuilder invocations
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude committed Nov 26, 2024
1 parent 17f4716 commit 8f2f9b0
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ private static IDictionary<string, IHttpClientBuilder> UseMultipleClients(this I
TokenProvider = tokenProviderSupplier(clientName, configuration, serviceProvider),
ReadResponseAsStream = options.ReadResponseAsStream,
CorrelationIdProvider = serviceProvider.GetService<ICorrelationIdProvider>(),
HttpVersion = options.UseHttpVersion,
Middlewares = middlewares
}.Build();
return client;
Expand Down Expand Up @@ -97,7 +96,6 @@ private static IDictionary<string, IHttpClientBuilder> UseSingleClient(this ISer
TokenProvider = tokenProviderSupplier(clientName, configuration, serviceProvider),
ReadResponseAsStream = options.ReadResponseAsStream,
CorrelationIdProvider = serviceProvider.GetService<ICorrelationIdProvider>(),
HttpVersion = options.UseHttpVersion,
Middlewares = middlewares
}.Build();

Expand Down

0 comments on commit 8f2f9b0

Please sign in to comment.