Unleash / unleash-client-dotnet

Unleash client SDK for .NET
Apache License 2.0
77 stars 39 forks source link

fix: use stringcontent for metrics and register so we can set headers #181

Closed daveleek closed 7 months ago

daveleek commented 7 months ago

Description

Changes requests to metrics and register in UnleashApiClient, now uses StringContent instead of StreamContent so we can set Content-Length header properly. Makes the SDK play nicer together with Edge

Fixes https://github.com/Unleash/unleash-edge/issues/357

Type of change

How Has This Been Tested?

Running locally against Edge

Checklist:

daveleek commented 7 months ago

This has been replaced with #182 as that seems to be the root cause for this issue