Version 1.0.19

Date 2022-03-27 (1,005 days ago)
Downloads 555 downloads
NuGet View on NuGet
GitHub View on GitHub
Target Frameworks .NET Standard 1.3 .NET Standard 2.0 .NET 4.5 .NET 4.6 .NET 4.7

#installation">Installation

Install the NuGet package - either via the .NET CLI:

dotnet add package Skybrud.Essentials.Http --version 1.0.19

or the NuGet package manager:

Install-Package Skybrud.Essentials.Http -Version 1.0.19

#changelog">Changelog

  • Improved HttpRequest.GetResponse exception handling (see #2 and 484dfff)
    .NET's exception handling differs slightly for HTTP protocol errors when comparing .NET Framework and .NET Standard, so the .NET Standard version of this package didn't properly detect WebException exceptions as they were hidden behind an AggregateException. With this release, WebException exception are now properly detected from the inner exception of the AggregateException.