httpx 0.11.3 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/doc/release_notes/0_11_1.md +5 -1
- data/doc/release_notes/0_12_0.md +55 -0
- data/lib/httpx.rb +2 -1
- data/lib/httpx/adapters/faraday.rb +4 -6
- data/lib/httpx/altsvc.rb +1 -0
- data/lib/httpx/connection.rb +63 -15
- data/lib/httpx/connection/http1.rb +8 -7
- data/lib/httpx/connection/http2.rb +32 -25
- data/lib/httpx/io.rb +16 -3
- data/lib/httpx/io/ssl.rb +7 -9
- data/lib/httpx/io/tcp.rb +9 -8
- data/lib/httpx/io/tls.rb +218 -0
- data/lib/httpx/io/tls/box.rb +365 -0
- data/lib/httpx/io/tls/context.rb +199 -0
- data/lib/httpx/io/tls/ffi.rb +390 -0
- data/lib/httpx/parser/http1.rb +4 -4
- data/lib/httpx/plugins/aws_sdk_authentication.rb +81 -0
- data/lib/httpx/plugins/aws_sigv4.rb +218 -0
- data/lib/httpx/plugins/compression/deflate.rb +2 -5
- data/lib/httpx/plugins/internal_telemetry.rb +93 -0
- data/lib/httpx/plugins/multipart.rb +2 -0
- data/lib/httpx/plugins/multipart/encoder.rb +4 -9
- data/lib/httpx/plugins/proxy.rb +1 -1
- data/lib/httpx/plugins/proxy/http.rb +1 -1
- data/lib/httpx/plugins/proxy/socks4.rb +8 -0
- data/lib/httpx/plugins/proxy/socks5.rb +8 -0
- data/lib/httpx/plugins/push_promise.rb +3 -2
- data/lib/httpx/plugins/retries.rb +1 -1
- data/lib/httpx/plugins/stream.rb +3 -5
- data/lib/httpx/pool.rb +0 -1
- data/lib/httpx/registry.rb +1 -7
- data/lib/httpx/request.rb +11 -1
- data/lib/httpx/resolver/https.rb +3 -11
- data/lib/httpx/response.rb +9 -2
- data/lib/httpx/selector.rb +5 -0
- data/lib/httpx/session.rb +25 -2
- data/lib/httpx/transcoder/body.rb +3 -5
- data/lib/httpx/version.rb +1 -1
- data/sig/connection/http1.rbs +2 -2
- data/sig/connection/http2.rbs +5 -3
- data/sig/plugins/aws_sdk_authentication.rbs +17 -0
- data/sig/plugins/aws_sigv4.rbs +65 -0
- data/sig/plugins/push_promise.rbs +1 -1
- metadata +13 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: httpx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tiago Cardoso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http-2-next
|
@@ -58,6 +58,7 @@ extra_rdoc_files:
|
|
58
58
|
- doc/release_notes/0_11_1.md
|
59
59
|
- doc/release_notes/0_11_2.md
|
60
60
|
- doc/release_notes/0_11_3.md
|
61
|
+
- doc/release_notes/0_12_0.md
|
61
62
|
- doc/release_notes/0_1_0.md
|
62
63
|
- doc/release_notes/0_2_0.md
|
63
64
|
- doc/release_notes/0_2_1.md
|
@@ -95,6 +96,7 @@ files:
|
|
95
96
|
- doc/release_notes/0_11_1.md
|
96
97
|
- doc/release_notes/0_11_2.md
|
97
98
|
- doc/release_notes/0_11_3.md
|
99
|
+
- doc/release_notes/0_12_0.md
|
98
100
|
- doc/release_notes/0_1_0.md
|
99
101
|
- doc/release_notes/0_2_0.md
|
100
102
|
- doc/release_notes/0_2_1.md
|
@@ -135,12 +137,18 @@ files:
|
|
135
137
|
- lib/httpx/io.rb
|
136
138
|
- lib/httpx/io/ssl.rb
|
137
139
|
- lib/httpx/io/tcp.rb
|
140
|
+
- lib/httpx/io/tls.rb
|
141
|
+
- lib/httpx/io/tls/box.rb
|
142
|
+
- lib/httpx/io/tls/context.rb
|
143
|
+
- lib/httpx/io/tls/ffi.rb
|
138
144
|
- lib/httpx/io/udp.rb
|
139
145
|
- lib/httpx/io/unix.rb
|
140
146
|
- lib/httpx/loggable.rb
|
141
147
|
- lib/httpx/options.rb
|
142
148
|
- lib/httpx/parser/http1.rb
|
143
149
|
- lib/httpx/plugins/authentication.rb
|
150
|
+
- lib/httpx/plugins/aws_sdk_authentication.rb
|
151
|
+
- lib/httpx/plugins/aws_sigv4.rb
|
144
152
|
- lib/httpx/plugins/basic_authentication.rb
|
145
153
|
- lib/httpx/plugins/compression.rb
|
146
154
|
- lib/httpx/plugins/compression/brotli.rb
|
@@ -154,6 +162,7 @@ files:
|
|
154
162
|
- lib/httpx/plugins/expect.rb
|
155
163
|
- lib/httpx/plugins/follow_redirects.rb
|
156
164
|
- lib/httpx/plugins/h2c.rb
|
165
|
+
- lib/httpx/plugins/internal_telemetry.rb
|
157
166
|
- lib/httpx/plugins/multipart.rb
|
158
167
|
- lib/httpx/plugins/multipart/encoder.rb
|
159
168
|
- lib/httpx/plugins/multipart/mime_type_detector.rb
|
@@ -201,6 +210,8 @@ files:
|
|
201
210
|
- sig/options.rbs
|
202
211
|
- sig/parser/http1.rbs
|
203
212
|
- sig/plugins/authentication.rbs
|
213
|
+
- sig/plugins/aws_sdk_authentication.rbs
|
214
|
+
- sig/plugins/aws_sigv4.rbs
|
204
215
|
- sig/plugins/basic_authentication.rbs
|
205
216
|
- sig/plugins/compression.rbs
|
206
217
|
- sig/plugins/compression/brotli.rbs
|