Skip to content

Releases: skybrud/Skybrud.Essentials.Http

Skybrud.Essentials.Http v1.0.8

12 Sep 12:08
Compare
Choose a tag to compare

Installation

Changelog

  • Fixed issue with OAuth 1.0a header string generation (see 21e5d11).
    A line that shouldn't have been removed was accidentally removed during some code cleanup, which then resulted in OAuth 1.0a header string not being generated properly.

    With this release, the line is now back, and the header string is being generated correctly. I've also added a new unit test project with a test to verify this - and make sure it doesn't happen again.

Skybrud.Essentials.Http v1.0.7

07 Sep 15:09
Compare
Choose a tag to compare

Installation

Changelog

  • Added Post method overload to the HttpRequest class (see d157930).
    The added method overload only takes a URL as a parameter, so it serves a supplement to the existing Post overloads.

  • Shorter method in the HttpClient class (see 4f249e4)
    Added new Get, Post, Put, Patch and Delete methods as replacements for the DoHttpGetRequest, DoHttpPostRequest, DoHttpPutRequest, DoHttpPatchRequest and DoHttpDeleteRequest methods. The existing methods have been marked as obsolete, suggestion that the new and shorter method names should be used instead.

  • Marked the HttpUtils.Http utility class as obsolete (see 0e04b43)
    Similar logic exists in the HttpUtils.Requests utility class, which should therefore be used instead.

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