mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
409 B
409 B
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)