Skip to content

Commit

Permalink
feat: enable caching from unleash (#129)
Browse files Browse the repository at this point in the history
* feat: enable caching from unleash

This enables the etag logic in unleash.
  • Loading branch information
gardleopard authored Feb 28, 2023
1 parent 93e2d5f commit 53cd671
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Unleash/DefaultHttpClientFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ protected virtual void ConfigureDefaultRequestHeaders(HttpRequestHeaders headers
headers.ConnectionClose = false;
headers.TryAddWithoutValidation("Accept", "application/json");
headers.TryAddWithoutValidation("Content-Type", "application/json");
headers.CacheControl = new CacheControlHeaderValue
{
NoCache = true
};

if (CustomDefaultHttpHeaders != null)
{
Expand Down

0 comments on commit 53cd671

Please sign in to comment.