RESTClient v1.4.0 Release Notes

    • ⚠ Response is no more a String, and the mixin is replaced by an abstract_response, existing calls are redirected to response body with a warning.
    • enable repeated parameters RestClient.post 'http://example.com/resource', :param1 => ['one', 'two', 'three'], => :param2 => 'foo' (patch provided by Rodrigo Panachi)
    • 🛠 fixed the redirect code concerning relative path and query string combination (patch provided by Kevin Read)
    • 🚚 redirection code moved to Response so redirection can be customized using the block syntax
    • 0️⃣ only get and head redirections are now followed by default, as stated in the specification
    • added RestClient.add_before_execution_proc to hack the http request, like for oauth

    The response change may be breaking in rare cases.