Skip to content
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

Align behavior on Unity to .NET runtime #78

Merged
merged 1 commit into from
Jul 9, 2024
Merged

Conversation

mayuki
Copy link
Member

@mayuki mayuki commented Jul 9, 2024

This PR changed to throw an HttpRequestException when an exception occurs while reading content. This change aligns the behavior to .NET's HttpContent. This means that applications will catch HttpRequestException instead of IOException.

@mayuki mayuki merged commit 2357d0f into main Jul 9, 2024
14 checks passed
@mayuki mayuki deleted the feature/FixUnityBehavior branch July 9, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant