[ANN] HTTPX 0.4.0 released!

(Tiago Cardoso) #1

https 0.4.0 has been released.

* https://gitlab.com/honeyryderchuck/httpx

httpx is a client library for making HTTP requests from Ruby. It has a
simple but highly configurable API to perform single and multiple requests
(supports HTTP/2 as well has 1.1 and 1.0). It also supports DNS over HTTPS.

### 0.4.0 Features

* Faraday Adapter (supports the faraday parallel requests API:
https://github.com/lostisland/faraday/wiki/Parallel-requests);
* SSH proxy plugin: Plugin to perform HTTP requests over an SSH tunnel
proxy;
* Persistent plugin: never close HTTP connections;

### 0.4.0 Changes

* cookies plugin acts like a proper session store;
  * as a side-effect, using cookies + follow_redirects plugin now uses
"Set-Cookie" responses to set cookie before redirecting;
* connection pools are now per-thread;
* "Client" is now "Session"

···

---------------------

* website: https://honeyryderchuck.gitlab.io/httpx/
* wiki: https://gitlab.com/honeyryderchuck/httpx/wikis/home
docs: https://honeyryderchuck.gitlab.io/httpx/rdoc/