excon 1.7.1 → 1.7.3
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/data/cacert.pem +2 -2
- data/lib/excon/connection.rb +5 -1
- data/lib/excon/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f037a314897ce62c2905d8663cc3b340f8584aef13d8e28a61706033e282334b
|
|
4
|
+
data.tar.gz: 1a7f16a08c9a5ac816236df1b434adc897d4644159c3a7f43ddfc5d8be4e8cc1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 82424d3a32813f3460c2e3ff55302a33004271a683b97a760c9eedaa009c42e859eca63ec55ef40fc71baacbab8ba1cb824878b074a6a814ff0782559347916f
|
|
7
|
+
data.tar.gz: 91b7cb3ce4cb69dc7c935b16b891c854d5d7a4af83d1a013e05ca1e87783ef6f2d527d32862b15b98924e15f1203a361ee98a764b053cc592826dd1f7ba23e28
|
data/data/cacert.pem
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
##
|
|
2
2
|
## Bundle of CA Root Certificates
|
|
3
3
|
##
|
|
4
|
-
## Certificate data from Mozilla as of:
|
|
4
|
+
## Certificate data from Mozilla as of: Fri Sep 25 03:12:01 2026 GMT
|
|
5
5
|
##
|
|
6
6
|
## Find updated versions here: https://curl.se/docs/caextract.html
|
|
7
7
|
##
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
## Configure this file as the SSLCACertificateFile.
|
|
17
17
|
##
|
|
18
18
|
## Conversion done with mk-ca-bundle.pl version 1.33.
|
|
19
|
-
## SHA256:
|
|
19
|
+
## SHA256: beb7e6dfe6499926e52c075c27bcfbe4c957f8609c575b3860273ae2806f63eb
|
|
20
20
|
##
|
|
21
21
|
|
|
22
22
|
|
data/lib/excon/connection.rb
CHANGED
|
@@ -242,7 +242,11 @@ module Excon
|
|
|
242
242
|
datum[:deadline] = Process.clock_gettime(Process::CLOCK_MONOTONIC) + datum[:timeout]
|
|
243
243
|
end
|
|
244
244
|
|
|
245
|
-
|
|
245
|
+
# header names are case-insensitive, so request headers replace defaults regardless of casing
|
|
246
|
+
request_headers = datum[:headers] || {}
|
|
247
|
+
datum[:headers] = @data[:headers].reject do |key, _|
|
|
248
|
+
request_headers.keys.any? { |k| k.to_s.casecmp?(key.to_s) }
|
|
249
|
+
end.merge(request_headers)
|
|
246
250
|
|
|
247
251
|
validate_params(:request, params, datum[:middlewares])
|
|
248
252
|
# If the user passed in new middleware, we want to validate that the original connection parameters
|
data/lib/excon/version.rb
CHANGED