Open Issues Need Help
View All on GitHubAI Summary: The task is to improve the Kiota abstractions library for .NET to better handle unexpected content types in HTTP responses, specifically to allow capturing the response code, body, and headers when an `InvalidOperationException` occurs due to a mismatch between the expected and actual content type. This involves potentially enhancing the `BodyInspectionHandlerOption` or implementing a similar mechanism to provide more robust error handling.
Abstractions library for the Kiota generated SDKs in dotnet
AI Summary: The issue describes a deadlock in the Kiota authentication provider due to a missing `ConfigureAwait(false)` in the `AuthenticateRequestAsync` method. The task is to add `ConfigureAwait(false)` to the `await` call within this method to prevent deadlocks when used with synchronous blocking code in legacy applications. This ensures compatibility with synchronous code that uses `GetAwaiter().GetResult()`.
Abstractions library for the Kiota generated SDKs in dotnet