0_2_1.md

doc/release_notes/0_2_1.md
Last Update: 2024-12-18 13:38:28 +0000

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)