-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
area-Extensions-HttpClientFactorybughelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors
Milestone
Description
Background and motivation
Both LoggingHttpMessageHandler and LoggingScopeHttpMessageHandler have implementations of:
protected async override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request!!, CancellationToken cancellationToken)
but they are missing implementations of:
protected internal override HttpResponseMessage Send(HttpRequestMessage request, CancellationToken cancellationToken)
It would be great to see these implementations introduced, as otherwise custom implementation of:
IHttpMessageHandlerBuilderFilter,HttpHeadersLogValue,LoggingHttpMessageHandlerLoggingScopeHttpMessageHandler
is needed.
I know that synchronous usage is not expected most of the times, but we've spent quite some time figuring out why we can't turn on those logs in our legacy app migrated to .NET 6 when we tried to figure out how it works.
Risks
No response
Metadata
Metadata
Assignees
Labels
area-Extensions-HttpClientFactorybughelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors