mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-12-12 00:02:10 -05:00
setting version 0.2.1
This commit is contained in:
parent
760cb9f876
commit
626c77f758
16
doc/release_notes/0_2_1.md
Normal file
16
doc/release_notes/0_2_1.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# 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
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
tokens = ["TOKEN1", "TOKEN2", "TOKEN3"]
|
||||||
|
uri = "https://example.com/protected"
|
||||||
|
|
||||||
|
requests = tokens.map { |token| [uri, {headers: {'authorization': token} }] }
|
||||||
|
|
||||||
|
responses = HTTPX.get(*requests)
|
||||||
|
```
|
||||||
@ -1,5 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module HTTPX
|
module HTTPX
|
||||||
VERSION = "0.2.0"
|
VERSION = "0.2.1"
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user