Frends.HTTP.RequestBytes / 2.0.0
Summary
Sends a request with a text body and returns the response as bytes, leaving binary content undecoded.
Typical use — fetching files, images or archives from an API, where text decoding would corrupt them
2.0.02026-10-26
Changed
- Updated the task to target .NET 8.
- Breaking
ContentTypein the result is now a string instead of aMediaTypeHeaderValue. - Added
SuccessandErrorproperties to the result. - Added
ThrowErrorOnFailureandErrorMessageOnFailureoptions. By default errors are thrown as before.
1.6.02026-10-20
Changed
- HTTP client cache key is now derived with PBKDF2-SHA256.
1.5.02026-05-13
Added
- Added UseProxy, ProxyUrl, ProxyUsername, ProxyPassword, HttpProtocolVersion, and SslProtocolVersion options with proxy handler and protocol configuration support.
1.4.02026-03-02
Added
- Added CertificateStoreLocation option to allow selection between CurrentUser and LocalMachine certificate stores when using certificate authentication.
1.3.02025-10-10
Changed
- Changed the return type of RequestBytes from Task
1.2.02025-03-25
Changed
- Update packages: Newtonsoft.Json 12.0.1 -> 13.0.3 System.ComponentModel.Annotations 4.7.0 -> 5.0.0 System.Runtime.Caching 7.0.0 -> 9.0.3 coverlet.collector 3.1.0 -> 6.0.4 Microsoft.NET.Test.Sdk 16.7.0 -> 17.13.0 MSTest.TestAdapter 2.1.2 -> 3.8.3 MSTest.TestFramework 2.1.2 -> 3.8.3 nunit 3.12.0 -> 4.3.2 NUnit3TestAdapter 3.17.0 -> 5.0.0 RichardSzalay.MockHttp 6.0.0 -> 7.0.0 xunit.extensibility.core 2.4.2 -> 2.9.3
1.1.02024-12-30
Changed
- Descriptions of ClientCertificate suboptions includes clearer information about usage in terms of different types of ClientCertificate.
1.0.12024-01-17
Fixed
- Fixed issues which CodeQL found in the codebase. Fixed Code Coverage
1.0.02023-01-27
Added
- Initial implementation of Frends.HTTP.Request.