-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable/Skip CompressionHandler when NSUrlSessionHandler is used as final handler. #482
Disable/Skip CompressionHandler when NSUrlSessionHandler is used as final handler. #482
Comments
This has been fixed in https://www.nuget.org/packages/Microsoft.Graph.Core/1.16.0-preview.2. |
It looks like it still throws an |
Thanks for the feedback. I'll try and repro it on my end. Are you using a custom HttpProvider by any chance? |
No, I was calling the new |
@tipa, I have been able to repro the exception and we've released https://www.nuget.org/packages/Microsoft.Graph.Core/1.16.0-preview.3 to fix it. Our |
Issue
NSUrlSessionHandler
-Xamarin.iOS
- handles decompression out of the box and doesn't provide an option to turn it off. This throws a System.IO.IOException: Corrupted data ReadInternal exception when ourCompressionHandler
is used alongsideNSUrlSessionHandler
as described in issue #413.Workaround
The current work around involves creating a new pipeline without the CompressionHandler.
The text was updated successfully, but these errors were encountered: