-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dotnet] Log http requests/responses via internal DiagnosticsHttpHand…
…ler (#13978) * [dotnet] Add Execution Context * Added http status code validation * update validation http status code validation as int * Update http validation status code from 299 to 399 * Logs Response to HttpClientHandler * update name * revert http response message logger * Remove White Space * fix build error * Update InterceptAsync Summary * Update Logger field initialization * Remove logger parameter in ResponseLoggerInterceptor method * fix comment to add responseBody inside the if statement * Update Delegating Handler and Remove unable to push files in local * Update from null validation to status code * Fix comment * fix minor comments and adjust logic improvement * Revert "fix minor comments and adjust logic improvement" This reverts commit 4240536. * Null check for response content * Requests/Responses as single log message * Pass logger from upstream * Fix missing responses in log * Put log message in parallel with sending a request --------- Co-authored-by: Nikolay Borisenko <[email protected]>
- Loading branch information
1 parent
cd96b62
commit 4c00c23
Showing
1 changed file
with
60 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters