Cysharp / YetAnotherHttpHandler

YetAnotherHttpHandler brings the power of HTTP/2 (and gRPC) to Unity and .NET Standard.
MIT License
376 stars 33 forks source link

Align behavior on Unity to .NET runtime #78

Closed mayuki closed 4 months ago

mayuki commented 4 months ago

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.