Skip to content

Releases: skybrud/Skybrud.Essentials.Http

Skybrud.Essentials.Http v1.0.6

17 Aug 16:14
Compare
Choose a tag to compare

Installation

Changelog

  • Updated an issue with setting the content type of POST requests via the HttpRequest class (see 094eefd).
    The content type would in some cases automatically be overwritten by the internal logic in the HttpRequest. With this release, the internal logic will no longer set the content type if one has already been specified.

  • Added constructor overloads and extra static methods to allow easier initialization of the HttpRequest class (see 0a2ed4c and 941e8d9).
    The HttpRequest now has a number of new constructor overloads allowing developers to specify options such as the HTTP method and URL directly in the constructor instead of having to populate the corresponding properties after the instance has been created.

  • The IHttpRequest interface should have the same properties as the HttpRequest class (see 5f35656)
    Technically this is a breaking change 💣, but only if you have your own classes implementing the IHttpResponse interface.

Skybrud.Essentials.Http v1.0.5

19 Jun 17:55
Compare
Choose a tag to compare

Installation

Changelog

  • The ResponseUri property from the HttpWebResponse class is now exposed via the IHttpResponse interface (see 5f35656)
    Technically this is a breaking change 💣, but only if you have your own classes implementing the IHttpResponse interface.

Skybrud.Essentials.Http v1.0.4

08 Mar 12:37
Compare
Choose a tag to compare

Installation

Changelog

  • Fixed an issue with the request body length in HttpRequest (see c90ce86)

Skybrud.Essentials.Http v1.0.3

01 Mar 08:58
Compare
Choose a tag to compare

Installation

Changelog

  • Using Uri.EscapeDataString is more correct to encode form data (see 06a9ff8)
    The old code used StringUtils.UrlEncode, which is just a wrapper for either HttpUtility.UrlEncode or WebUtility.UrlEncode depending on the target framework. The UrlEncode methods are not sufficient for encoding form data.

    The fix was to replace StringUtils.UrlEncode withUri.EscapeDataString, as the latter properly handles encoding form data.

Skybrud.Essentials.Http v1.0.2

04 Feb 22:36
Compare
Choose a tag to compare

Installation

Changelog

  • Fixed an issue with incorrect request body length due to multi-byte characters. As some characters may take up more than one byte, the length of Encoding.UTF8.GetBytes(Body) and Body.Length could differ, causing the request code to fail (see f0561ab).

Skybrud.Essentials.Http v1.0.1

15 Oct 16:40
Compare
Choose a tag to compare

Skybrud.Essentials.Http v1.0.0

24 Sep 20:10
Compare
Choose a tag to compare

Skybrud.Essentials.Http v1.0.0-beta001

19 Sep 18:19
Compare
Choose a tag to compare
Pre-release

Installation