httpx 0.21.0 → 0.22.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +53 -35
  3. data/doc/release_notes/0_10_0.md +2 -2
  4. data/doc/release_notes/0_11_0.md +3 -5
  5. data/doc/release_notes/0_12_0.md +5 -5
  6. data/doc/release_notes/0_13_0.md +4 -4
  7. data/doc/release_notes/0_14_0.md +2 -2
  8. data/doc/release_notes/0_16_0.md +3 -3
  9. data/doc/release_notes/0_17_0.md +1 -1
  10. data/doc/release_notes/0_18_0.md +4 -4
  11. data/doc/release_notes/0_18_2.md +1 -1
  12. data/doc/release_notes/0_19_0.md +1 -1
  13. data/doc/release_notes/0_20_0.md +1 -1
  14. data/doc/release_notes/0_21_0.md +7 -5
  15. data/doc/release_notes/0_21_1.md +12 -0
  16. data/doc/release_notes/0_22_0.md +13 -0
  17. data/doc/release_notes/0_22_1.md +11 -0
  18. data/doc/release_notes/0_22_2.md +5 -0
  19. data/doc/release_notes/0_22_3.md +55 -0
  20. data/doc/release_notes/0_22_4.md +6 -0
  21. data/lib/httpx/adapters/datadog.rb +1 -1
  22. data/lib/httpx/adapters/faraday.rb +12 -4
  23. data/lib/httpx/adapters/sentry.rb +6 -2
  24. data/lib/httpx/connection/http2.rb +1 -1
  25. data/lib/httpx/connection.rb +34 -6
  26. data/lib/httpx/errors.rb +2 -0
  27. data/lib/httpx/extensions.rb +10 -1
  28. data/lib/httpx/io/tcp.rb +2 -1
  29. data/lib/httpx/io/udp.rb +4 -5
  30. data/lib/httpx/options.rb +2 -2
  31. data/lib/httpx/plugins/authentication.rb +1 -1
  32. data/lib/httpx/plugins/aws_sigv4.rb +2 -2
  33. data/lib/httpx/plugins/basic_authentication.rb +1 -1
  34. data/lib/httpx/plugins/circuit_breaker/circuit.rb +1 -1
  35. data/lib/httpx/plugins/circuit_breaker.rb +1 -1
  36. data/lib/httpx/plugins/compression/gzip.rb +1 -1
  37. data/lib/httpx/plugins/compression.rb +4 -4
  38. data/lib/httpx/plugins/cookies.rb +1 -1
  39. data/lib/httpx/plugins/digest_authentication.rb +3 -1
  40. data/lib/httpx/plugins/expect.rb +4 -3
  41. data/lib/httpx/plugins/follow_redirects.rb +8 -1
  42. data/lib/httpx/plugins/grpc/message.rb +1 -1
  43. data/lib/httpx/plugins/grpc.rb +1 -1
  44. data/lib/httpx/plugins/h2c.rb +1 -1
  45. data/lib/httpx/plugins/multipart/decoder.rb +7 -57
  46. data/lib/httpx/plugins/multipart.rb +2 -2
  47. data/lib/httpx/plugins/ntlm_authentication.rb +3 -1
  48. data/lib/httpx/plugins/persistent.rb +1 -1
  49. data/lib/httpx/plugins/proxy/http.rb +4 -2
  50. data/lib/httpx/plugins/proxy.rb +1 -1
  51. data/lib/httpx/plugins/push_promise.rb +1 -1
  52. data/lib/httpx/plugins/rate_limiter.rb +3 -1
  53. data/lib/httpx/plugins/response_cache.rb +1 -1
  54. data/lib/httpx/plugins/retries.rb +3 -2
  55. data/lib/httpx/plugins/stream.rb +0 -2
  56. data/lib/httpx/plugins/upgrade.rb +3 -1
  57. data/lib/httpx/plugins/webdav.rb +2 -0
  58. data/lib/httpx/pool.rb +41 -2
  59. data/lib/httpx/request.rb +1 -1
  60. data/lib/httpx/resolver/https.rb +16 -2
  61. data/lib/httpx/resolver/native.rb +28 -26
  62. data/lib/httpx/resolver/resolver.rb +9 -8
  63. data/lib/httpx/resolver.rb +8 -0
  64. data/lib/httpx/response.rb +8 -0
  65. data/lib/httpx/transcoder/xml.rb +0 -2
  66. data/lib/httpx/transcoder.rb +1 -1
  67. data/lib/httpx/utils.rb +30 -0
  68. data/lib/httpx/version.rb +1 -1
  69. data/lib/httpx.rb +6 -0
  70. data/sig/connection.rbs +3 -1
  71. data/sig/plugins/multipart.rbs +0 -2
  72. data/sig/pool.rbs +3 -1
  73. data/sig/resolver/https.rbs +3 -2
  74. data/sig/resolver/native.rbs +2 -1
  75. data/sig/resolver/resolver.rbs +3 -1
  76. data/sig/resolver.rbs +1 -1
  77. data/sig/response.rbs +4 -1
  78. data/sig/utils.rbs +2 -0
  79. metadata +21 -9
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.21.0
4
+ version: 0.22.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiago Cardoso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-14 00:00:00.000000000 Z
11
+ date: 2023-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http-2-next
@@ -87,6 +87,12 @@ extra_rdoc_files:
87
87
  - doc/release_notes/0_20_4.md
88
88
  - doc/release_notes/0_20_5.md
89
89
  - doc/release_notes/0_21_0.md
90
+ - doc/release_notes/0_21_1.md
91
+ - doc/release_notes/0_22_0.md
92
+ - doc/release_notes/0_22_1.md
93
+ - doc/release_notes/0_22_2.md
94
+ - doc/release_notes/0_22_3.md
95
+ - doc/release_notes/0_22_4.md
90
96
  - doc/release_notes/0_2_0.md
91
97
  - doc/release_notes/0_2_1.md
92
98
  - doc/release_notes/0_3_0.md
@@ -166,6 +172,12 @@ files:
166
172
  - doc/release_notes/0_20_4.md
167
173
  - doc/release_notes/0_20_5.md
168
174
  - doc/release_notes/0_21_0.md
175
+ - doc/release_notes/0_21_1.md
176
+ - doc/release_notes/0_22_0.md
177
+ - doc/release_notes/0_22_1.md
178
+ - doc/release_notes/0_22_2.md
179
+ - doc/release_notes/0_22_3.md
180
+ - doc/release_notes/0_22_4.md
169
181
  - doc/release_notes/0_2_0.md
170
182
  - doc/release_notes/0_2_1.md
171
183
  - doc/release_notes/0_3_0.md
@@ -353,15 +365,15 @@ files:
353
365
  - sig/transcoder/json.rbs
354
366
  - sig/transcoder/xml.rbs
355
367
  - sig/utils.rbs
356
- homepage: https://gitlab.com/honeyryderchuck/httpx
368
+ homepage: https://gitlab.com/os85/httpx
357
369
  licenses:
358
370
  - Apache 2.0
359
371
  metadata:
360
- bug_tracker_uri: https://gitlab.com/honeyryderchuck/httpx/issues
361
- changelog_uri: https://honeyryderchuck.gitlab.io/httpx/#release-notes
362
- documentation_uri: https://honeyryderchuck.gitlab.io/httpx/rdoc/
363
- source_code_uri: https://gitlab.com/honeyryderchuck/httpx
364
- homepage_uri: https://honeyryderchuck.gitlab.io/httpx/
372
+ bug_tracker_uri: https://gitlab.com/os85/httpx/issues
373
+ changelog_uri: https://os85.gitlab.io/httpx/#release-notes
374
+ documentation_uri: https://os85.gitlab.io/httpx/rdoc/
375
+ source_code_uri: https://gitlab.com/os85/httpx
376
+ homepage_uri: https://os85.gitlab.io/httpx/
365
377
  rubygems_mfa_required: 'true'
366
378
  post_install_message:
367
379
  rdoc_options: []
@@ -378,7 +390,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
378
390
  - !ruby/object:Gem::Version
379
391
  version: '0'
380
392
  requirements: []
381
- rubygems_version: 3.3.7
393
+ rubygems_version: 3.4.1
382
394
  signing_key:
383
395
  specification_version: 4
384
396
  summary: HTTPX, to the future, and beyond