0.2.1¶ ↑
-
fixed setting timeouts using the chainable API
-
Basic Auth: proper user/password escaping
-
Improved multi-request support, by allowing to pass request-specific options for multiple requests
tokens = ["TOKEN1", "TOKEN2", "TOKEN3"] uri = "https://example.com/protected" requests = tokens.map { |token| [uri, {headers: {'authorization': token} }] } responses = HTTPX.get(*requests)