0_2_1.md

doc/release_notes/0_2_1.md
Last Update: 2024-11-19 13:02:02 +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)