dotnet / dotnet/dotnet-api-docs

Add code snippet displaying the behavior of trailing headers in an HTTP response when calling requests with HttpCompletionOption.ResponseHeadersRead

Open
#2,734 0 comments 0 reactions 0 assignees View on GitHub
area-System.Net Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

In System.Net.Http.HttpResponseMessage, new property TrailingHeaders returns an empty collection for this corner case. This needs to be documented and a good idea of showing how this works is by adding a snippet of it.

This needs to wait for #2733, then the sample can be added to [dotnet/samples](https://github.com/dotnet/samples).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.