Relative Content

Tag Archive for c#.netazureazure-functionsdotnet-httpclient

HttpRequest Body reading behaviour differs between .NET 8 in-process and dotnet-isolated

When trying to use the request body stream as content for another HttpRequest, the dotnet-isolated function app seems to have issues with certain backend servers which see the request body as empty. The exact same http call in a in-process .NET 8 function works. Materializing the request body and using StringContent for the HttpRequest Content property eliminates this issue.