Azure / Azure/azure-functions-host

http triggered dotnet-isolated .NET 5 function receives empty body stream when Transfer-Encoding is 'chunked'

Open
#7,930 14 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

Hi,

we are experiencing a problem with an http triggered dotnet-isolated .NET 5 function ~~behind Azure API Management~~. When Transfer-Encoding is set to 'chunked', the `HttpRequestData.Body` stream is always empty. Is this a scenario which is expected to work out of the box?

If what I describe is expected to work, what information do you need us to provide, to investigate the cause of the experienced problem further?

**Update:** `HttpRequestData.Body` stream is also empty when calling the function directly. I updated the title to reflect this.

Thanks! David

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by reproducing a direct HTTP-triggered .NET isolated function request with Transfer-Encoding set to chunked, then inspect the HttpRequestData.Body handling; done means the request body is available through the stream or the failure is isolated with actionable diagnostics.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
api, backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.