HTTPX (v0.15.4)

A client library for making HTTP requests from Ruby.

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

Plugins

BasicAuthentication:
API and support for Basic Authentication.
DigestAuthentication:
API and support for Digest Authentication.
NTLMAuthentication:
API and support for NTLM Authentication.
AwsSigV4Authentication:
API and support for AWS SigV4 Authentication.
Compression:
Compression of request and response bodies.
Cookies:
Additional API for setting and interpreting cookies (using `http-cookie`).
FollowRedirects:
Ability to follow redirects.
Retries:
Ability to retry requests.
Proxy:
Proxy Support (HTTP, HTTPS, Socks 4/4a/5).
PushPromise:
Support for HTTP/2 Server Push.
Upgrade:
Support for migrating an HTTP/1.1 connection using the "Upgrade" header (h2c, h2...).
Stream:
API for reading response payloads in chunks (supports endless streams as well).
Multipart Uploads:
API and support for multipart uploads (using `http-form_data`).
Persistent:
Persist connections over the lifetime of a process.
GRPC:
API for building rich GRPC clients.

Release notes