Skip to content

Skybrud.Essentials.Http v1.0.6

Compare
Choose a tag to compare
@abjerner abjerner released this 17 Aug 16:14

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.