Fork me

HTTPX (v0.1.0)

A client library for making HTTP requests from Ruby.

HTTPX.get("https://news.ycombinator.com")
README WIKI

Plugins

BasicAuthentication:
API and support for Basic Authentication.
DigestAuthentication:
API and support for Digest Authentication.
Compression:
Compression of request and response bodies.
Cookies:
Additional API for setting and interpreting cookies (using `http-cookie`).
FollowRedirects:
Ability to follow redirects.
H2C:
Upgrade HTTP/1.1 clear-text connections to HTTP/2.
Proxy:
Proxy Support (HTTP, HTTPS, Socks 4/4a/5).
PushPromise:
Support for HTTP/2 Server Push.
Stream:
API and support for Stream (mime-type: `text/event-stream`) responses.

Release notes