httpx 0.11.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/doc/release_notes/0_11_1.md +5 -0
- data/doc/release_notes/0_11_2.md +5 -0
- data/doc/release_notes/0_11_3.md +5 -0
- data/doc/release_notes/0_12_0.md +55 -0
- data/doc/release_notes/0_13_0.md +58 -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/chainable.rb +2 -2
- data/lib/httpx/connection.rb +80 -28
- data/lib/httpx/connection/http1.rb +19 -6
- data/lib/httpx/connection/http2.rb +32 -25
- data/lib/httpx/io.rb +16 -3
- data/lib/httpx/io/ssl.rb +35 -24
- data/lib/httpx/io/tcp.rb +48 -28
- 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/io/udp.rb +3 -2
- data/lib/httpx/io/unix.rb +27 -12
- data/lib/httpx/options.rb +11 -23
- 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.rb +21 -9
- data/lib/httpx/plugins/compression/brotli.rb +8 -6
- data/lib/httpx/plugins/compression/deflate.rb +4 -7
- data/lib/httpx/plugins/compression/gzip.rb +2 -2
- data/lib/httpx/plugins/cookies/set_cookie_parser.rb +1 -1
- data/lib/httpx/plugins/digest_authentication.rb +1 -1
- data/lib/httpx/plugins/follow_redirects.rb +1 -1
- data/lib/httpx/plugins/h2c.rb +43 -58
- 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 +2 -2
- data/lib/httpx/plugins/stream.rb +6 -6
- data/lib/httpx/plugins/upgrade.rb +83 -0
- data/lib/httpx/plugins/upgrade/h2.rb +54 -0
- data/lib/httpx/pool.rb +14 -6
- 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 +14 -7
- 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/chainable.rbs +2 -1
- data/sig/connection/http1.rbs +3 -2
- data/sig/connection/http2.rbs +5 -3
- data/sig/options.rbs +7 -20
- data/sig/plugins/aws_sdk_authentication.rbs +17 -0
- data/sig/plugins/aws_sigv4.rbs +64 -0
- data/sig/plugins/compression.rbs +5 -3
- data/sig/plugins/compression/brotli.rbs +1 -1
- data/sig/plugins/compression/deflate.rbs +1 -1
- data/sig/plugins/compression/gzip.rbs +1 -1
- data/sig/plugins/cookies.rbs +0 -1
- data/sig/plugins/digest_authentication.rbs +0 -1
- data/sig/plugins/expect.rbs +0 -2
- data/sig/plugins/follow_redirects.rbs +0 -2
- data/sig/plugins/h2c.rbs +5 -10
- data/sig/plugins/persistent.rbs +0 -1
- data/sig/plugins/proxy.rbs +0 -1
- data/sig/plugins/push_promise.rbs +1 -1
- data/sig/plugins/retries.rbs +0 -4
- data/sig/plugins/upgrade.rbs +23 -0
- data/sig/response.rbs +3 -1
- metadata +48 -26
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.13.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-
|
11
|
+
date: 2021-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http-2-next
|
@@ -47,36 +47,41 @@ extra_rdoc_files:
|
|
47
47
|
- LICENSE.txt
|
48
48
|
- README.md
|
49
49
|
- doc/release_notes/0_0_1.md
|
50
|
-
- doc/release_notes/
|
51
|
-
- doc/release_notes/
|
50
|
+
- doc/release_notes/0_0_2.md
|
51
|
+
- doc/release_notes/0_0_3.md
|
52
52
|
- doc/release_notes/0_0_4.md
|
53
|
-
- doc/release_notes/
|
54
|
-
- doc/release_notes/
|
55
|
-
- doc/release_notes/0_7_0.md
|
56
|
-
- doc/release_notes/0_6_0.md
|
57
|
-
- doc/release_notes/0_10_2.md
|
58
|
-
- doc/release_notes/0_8_2.md
|
59
|
-
- doc/release_notes/0_6_4.md
|
60
|
-
- doc/release_notes/0_9_0.md
|
61
|
-
- doc/release_notes/0_6_3.md
|
53
|
+
- doc/release_notes/0_0_5.md
|
54
|
+
- doc/release_notes/0_10_0.md
|
62
55
|
- doc/release_notes/0_10_1.md
|
56
|
+
- doc/release_notes/0_10_2.md
|
63
57
|
- doc/release_notes/0_11_0.md
|
64
|
-
- doc/release_notes/
|
65
|
-
- doc/release_notes/
|
66
|
-
- doc/release_notes/
|
58
|
+
- doc/release_notes/0_11_1.md
|
59
|
+
- doc/release_notes/0_11_2.md
|
60
|
+
- doc/release_notes/0_11_3.md
|
61
|
+
- doc/release_notes/0_12_0.md
|
62
|
+
- doc/release_notes/0_13_0.md
|
63
|
+
- doc/release_notes/0_1_0.md
|
64
|
+
- doc/release_notes/0_2_0.md
|
65
|
+
- doc/release_notes/0_2_1.md
|
66
|
+
- doc/release_notes/0_3_0.md
|
67
|
+
- doc/release_notes/0_3_1.md
|
68
|
+
- doc/release_notes/0_4_0.md
|
67
69
|
- doc/release_notes/0_4_1.md
|
70
|
+
- doc/release_notes/0_5_0.md
|
68
71
|
- doc/release_notes/0_5_1.md
|
69
|
-
- doc/release_notes/
|
70
|
-
- doc/release_notes/
|
72
|
+
- doc/release_notes/0_6_0.md
|
73
|
+
- doc/release_notes/0_6_1.md
|
71
74
|
- doc/release_notes/0_6_2.md
|
72
|
-
- doc/release_notes/
|
75
|
+
- doc/release_notes/0_6_3.md
|
76
|
+
- doc/release_notes/0_6_4.md
|
77
|
+
- doc/release_notes/0_6_5.md
|
78
|
+
- doc/release_notes/0_6_6.md
|
79
|
+
- doc/release_notes/0_6_7.md
|
80
|
+
- doc/release_notes/0_7_0.md
|
73
81
|
- doc/release_notes/0_8_0.md
|
74
|
-
- doc/release_notes/
|
75
|
-
- doc/release_notes/
|
76
|
-
- doc/release_notes/
|
77
|
-
- doc/release_notes/0_0_2.md
|
78
|
-
- doc/release_notes/0_3_1.md
|
79
|
-
- doc/release_notes/0_2_0.md
|
82
|
+
- doc/release_notes/0_8_1.md
|
83
|
+
- doc/release_notes/0_8_2.md
|
84
|
+
- doc/release_notes/0_9_0.md
|
80
85
|
files:
|
81
86
|
- LICENSE.txt
|
82
87
|
- README.md
|
@@ -89,6 +94,11 @@ files:
|
|
89
94
|
- doc/release_notes/0_10_1.md
|
90
95
|
- doc/release_notes/0_10_2.md
|
91
96
|
- doc/release_notes/0_11_0.md
|
97
|
+
- doc/release_notes/0_11_1.md
|
98
|
+
- doc/release_notes/0_11_2.md
|
99
|
+
- doc/release_notes/0_11_3.md
|
100
|
+
- doc/release_notes/0_12_0.md
|
101
|
+
- doc/release_notes/0_13_0.md
|
92
102
|
- doc/release_notes/0_1_0.md
|
93
103
|
- doc/release_notes/0_2_0.md
|
94
104
|
- doc/release_notes/0_2_1.md
|
@@ -129,12 +139,18 @@ files:
|
|
129
139
|
- lib/httpx/io.rb
|
130
140
|
- lib/httpx/io/ssl.rb
|
131
141
|
- lib/httpx/io/tcp.rb
|
142
|
+
- lib/httpx/io/tls.rb
|
143
|
+
- lib/httpx/io/tls/box.rb
|
144
|
+
- lib/httpx/io/tls/context.rb
|
145
|
+
- lib/httpx/io/tls/ffi.rb
|
132
146
|
- lib/httpx/io/udp.rb
|
133
147
|
- lib/httpx/io/unix.rb
|
134
148
|
- lib/httpx/loggable.rb
|
135
149
|
- lib/httpx/options.rb
|
136
150
|
- lib/httpx/parser/http1.rb
|
137
151
|
- lib/httpx/plugins/authentication.rb
|
152
|
+
- lib/httpx/plugins/aws_sdk_authentication.rb
|
153
|
+
- lib/httpx/plugins/aws_sigv4.rb
|
138
154
|
- lib/httpx/plugins/basic_authentication.rb
|
139
155
|
- lib/httpx/plugins/compression.rb
|
140
156
|
- lib/httpx/plugins/compression/brotli.rb
|
@@ -148,6 +164,7 @@ files:
|
|
148
164
|
- lib/httpx/plugins/expect.rb
|
149
165
|
- lib/httpx/plugins/follow_redirects.rb
|
150
166
|
- lib/httpx/plugins/h2c.rb
|
167
|
+
- lib/httpx/plugins/internal_telemetry.rb
|
151
168
|
- lib/httpx/plugins/multipart.rb
|
152
169
|
- lib/httpx/plugins/multipart/encoder.rb
|
153
170
|
- lib/httpx/plugins/multipart/mime_type_detector.rb
|
@@ -162,6 +179,8 @@ files:
|
|
162
179
|
- lib/httpx/plugins/rate_limiter.rb
|
163
180
|
- lib/httpx/plugins/retries.rb
|
164
181
|
- lib/httpx/plugins/stream.rb
|
182
|
+
- lib/httpx/plugins/upgrade.rb
|
183
|
+
- lib/httpx/plugins/upgrade/h2.rb
|
165
184
|
- lib/httpx/pool.rb
|
166
185
|
- lib/httpx/registry.rb
|
167
186
|
- lib/httpx/request.rb
|
@@ -195,6 +214,8 @@ files:
|
|
195
214
|
- sig/options.rbs
|
196
215
|
- sig/parser/http1.rbs
|
197
216
|
- sig/plugins/authentication.rbs
|
217
|
+
- sig/plugins/aws_sdk_authentication.rbs
|
218
|
+
- sig/plugins/aws_sigv4.rbs
|
198
219
|
- sig/plugins/basic_authentication.rbs
|
199
220
|
- sig/plugins/compression.rbs
|
200
221
|
- sig/plugins/compression/brotli.rbs
|
@@ -218,6 +239,7 @@ files:
|
|
218
239
|
- sig/plugins/rate_limiter.rbs
|
219
240
|
- sig/plugins/retries.rbs
|
220
241
|
- sig/plugins/stream.rbs
|
242
|
+
- sig/plugins/upgrade.rbs
|
221
243
|
- sig/pool.rbs
|
222
244
|
- sig/registry.rbs
|
223
245
|
- sig/request.rbs
|
@@ -258,7 +280,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
258
280
|
- !ruby/object:Gem::Version
|
259
281
|
version: '0'
|
260
282
|
requirements: []
|
261
|
-
rubygems_version: 3.
|
283
|
+
rubygems_version: 3.2.3
|
262
284
|
signing_key:
|
263
285
|
specification_version: 4
|
264
286
|
summary: HTTPX, to the future, and beyond
|