Open ManickaP opened 3 years ago
Tagging subscribers to this area: @dotnet/ncl See info in area-owners.md if you want to be subscribed.
Author: | ManickaP |
---|---|
Assignees: | - |
Labels: | `area-System.Net.Http`, `untriaged` |
Milestone: | - |
Triage: It hasn't been ever used. We wouldn't add it today. But it may be potentially useful with mobile handlers. No strong opinion on obsoleting. Perhaps we should wait one more release and see if it make sense.
It seems it over-lived its usefulness. It was introduced by David Shulman in this PR: https://github.com/dotnet/runtime/commit/354c2e5b9c6f2db543e1256b979c9f632b9a832f, the tracking issue is https://github.com/dotnet/runtime/issues/16941.
So, it seems it was meant for
CurlHandler
andWinHttpHandler
, but was never used for that. It was modeled afterHttpRequestMessage.Properties.
https://github.com/dotnet/runtime/issues/16941#issuecomment-218573345, which were recently obsoleted.It is used by
HttpClientHandler
: https://github.com/dotnet/runtime/blob/baf6353db66762dafd0d31bbba8f612bef6af8f7/src/libraries/System.Net.Http/src/System/Net/Http/HttpClientHandler.cs#L303