Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
Add UriReplacementHandler as a default handler so it works out of the…
Browse files Browse the repository at this point in the history
… box
  • Loading branch information
NetherGranite committed Apr 20, 2024
1 parent 8a032df commit 831120c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/KiotaClientFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using System.Net.Http;
using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary.Middleware;
using Microsoft.Kiota.Http.HttpClientLibrary.Middleware.Options;

namespace Microsoft.Kiota.Http.HttpClientLibrary
{
Expand Down Expand Up @@ -36,6 +37,7 @@ public static IList<DelegatingHandler> CreateDefaultHandlers()
return new List<DelegatingHandler>
{
//add the default middlewares as they are ready
new UriReplacementHandler<UriReplacementHandlerOption>(),
new RetryHandler(),
new RedirectHandler(),
new ParametersNameDecodingHandler(),
Expand Down

0 comments on commit 831120c

Please sign in to comment.