ikyriak / IdempotentAPI

A .NET library that handles the HTTP write operations (POST and PATCH) that can affect only once for the given request data and idempotency-key by using an ASP.NET Core attribute (filter).
MIT License
284 stars 40 forks source link

Issue: Invalid character in chunk size error when using Kestrel #22

Closed ikyriak closed 3 years ago

ikyriak commented 3 years ago

The Transfer-Encoding HTTP header was included in the cache when using the Kestrel server, resulting in the Invalid character in chunk size error.

In this fix, we introduced a list of HTTP headers (including the Transfer-Encoding HTTP header) to be excluded from the cache and finally handled from the HTTP Server.

ikyriak commented 3 years ago

Hello @william-keller, I have released the updated 0.2.3-beta NuGet package. https://www.nuget.org/packages/IdempotentAPI/0.2.3-beta