excon 0.94.0 → 0.97.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTORS.md +182 -140
- data/data/cacert.pem +2 -136
- data/excon.gemspec +0 -1
- data/lib/excon/connection.rb +5 -1
- data/lib/excon/response.rb +12 -0
- data/lib/excon/socket.rb +10 -4
- data/lib/excon/version.rb +1 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee0b45af4f7467933687432b2eca89846435cf7fe55b76e17e437b81754fa5cb
|
4
|
+
data.tar.gz: fb52600cfbdaa2ef778ce9131e1905135f80bf74b39db16ca04b67ba379966e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 010da7bd227bce02def5a8041d20df6d5f7a4f02a19a04cf4cec60d095f3123bec397476bb7f8c1c55ba56c0ddd969d39d1bde9c2b88749fa3dde17a94f67448
|
7
|
+
data.tar.gz: '0419fa670f965885905f35f8bf95c5a8f8db8c76b172a77ae6c53ff344345c2957a0703454e3080fb2e0e24a8224cf865437334ae956ede7945d7e99e55853d7'
|
data/CONTRIBUTORS.md
CHANGED
@@ -1,140 +1,182 @@
|
|
1
|
-
* Aaron Stone
|
2
|
-
* Adam
|
3
|
-
*
|
4
|
-
*
|
5
|
-
*
|
6
|
-
*
|
7
|
-
*
|
8
|
-
*
|
9
|
-
*
|
10
|
-
*
|
11
|
-
*
|
12
|
-
*
|
13
|
-
*
|
14
|
-
*
|
15
|
-
*
|
16
|
-
*
|
17
|
-
*
|
18
|
-
*
|
19
|
-
*
|
20
|
-
*
|
21
|
-
*
|
22
|
-
*
|
23
|
-
*
|
24
|
-
*
|
25
|
-
*
|
26
|
-
*
|
27
|
-
*
|
28
|
-
*
|
29
|
-
*
|
30
|
-
*
|
31
|
-
*
|
32
|
-
*
|
33
|
-
*
|
34
|
-
*
|
35
|
-
*
|
36
|
-
*
|
37
|
-
*
|
38
|
-
*
|
39
|
-
*
|
40
|
-
*
|
41
|
-
*
|
42
|
-
*
|
43
|
-
*
|
44
|
-
*
|
45
|
-
*
|
46
|
-
*
|
47
|
-
*
|
48
|
-
*
|
49
|
-
*
|
50
|
-
*
|
51
|
-
*
|
52
|
-
*
|
53
|
-
*
|
54
|
-
*
|
55
|
-
*
|
56
|
-
*
|
57
|
-
*
|
58
|
-
*
|
59
|
-
*
|
60
|
-
*
|
61
|
-
*
|
62
|
-
*
|
63
|
-
*
|
64
|
-
*
|
65
|
-
*
|
66
|
-
*
|
67
|
-
*
|
68
|
-
*
|
69
|
-
*
|
70
|
-
*
|
71
|
-
*
|
72
|
-
*
|
73
|
-
*
|
74
|
-
*
|
75
|
-
*
|
76
|
-
*
|
77
|
-
*
|
78
|
-
*
|
79
|
-
*
|
80
|
-
*
|
81
|
-
*
|
82
|
-
*
|
83
|
-
*
|
84
|
-
*
|
85
|
-
*
|
86
|
-
*
|
87
|
-
*
|
88
|
-
*
|
89
|
-
*
|
90
|
-
*
|
91
|
-
*
|
92
|
-
*
|
93
|
-
*
|
94
|
-
*
|
95
|
-
*
|
96
|
-
*
|
97
|
-
*
|
98
|
-
*
|
99
|
-
*
|
100
|
-
*
|
101
|
-
*
|
102
|
-
*
|
103
|
-
*
|
104
|
-
*
|
105
|
-
*
|
106
|
-
*
|
107
|
-
*
|
108
|
-
*
|
109
|
-
*
|
110
|
-
*
|
111
|
-
*
|
112
|
-
*
|
113
|
-
*
|
114
|
-
*
|
115
|
-
*
|
116
|
-
*
|
117
|
-
*
|
118
|
-
*
|
119
|
-
*
|
120
|
-
*
|
121
|
-
*
|
122
|
-
*
|
123
|
-
*
|
124
|
-
*
|
125
|
-
*
|
126
|
-
*
|
127
|
-
*
|
128
|
-
*
|
129
|
-
*
|
130
|
-
*
|
131
|
-
*
|
132
|
-
*
|
133
|
-
*
|
134
|
-
*
|
135
|
-
*
|
136
|
-
*
|
137
|
-
*
|
138
|
-
*
|
139
|
-
*
|
140
|
-
*
|
1
|
+
* Aaron Stone
|
2
|
+
* Adam Avilla
|
3
|
+
* Adam Esterline
|
4
|
+
* Alexander Sandström
|
5
|
+
* Alexandr Burov
|
6
|
+
* Andrew Katz
|
7
|
+
* Andrew Metcalf
|
8
|
+
* Andrew Sullivan Cant
|
9
|
+
* André Diego Piske
|
10
|
+
* Andy Delcambre
|
11
|
+
* Anshul Khandelwal
|
12
|
+
* Anton Chuchkalov
|
13
|
+
* Antonio Terceiro
|
14
|
+
* Ash Wilson
|
15
|
+
* Atul Bhosale
|
16
|
+
* Bart de Water
|
17
|
+
* Ben Burkert
|
18
|
+
* Benedikt Böhm
|
19
|
+
* Bill Mill
|
20
|
+
* Bo Jeanes
|
21
|
+
* Brandur
|
22
|
+
* Brian D. Burns
|
23
|
+
* Brian Hartsock
|
24
|
+
* Bryan Paxton
|
25
|
+
* Caio Chassot
|
26
|
+
* Caius Durling
|
27
|
+
* Carl Hörberg
|
28
|
+
* Carl Hörberg
|
29
|
+
* Carlos Sanchez
|
30
|
+
* Casper Thomsen
|
31
|
+
* Chris Hanks
|
32
|
+
* Christoph Rieß
|
33
|
+
* Christophe Taton
|
34
|
+
* Claudio Poli
|
35
|
+
* Craig Shannon
|
36
|
+
* Damien Mathieu
|
37
|
+
* Dan Hensgen
|
38
|
+
* Dan Peterson
|
39
|
+
* Dan Prince
|
40
|
+
* Dane Harrigan
|
41
|
+
* Daniel Berger
|
42
|
+
* Dave Myron
|
43
|
+
* Dave Newton
|
44
|
+
* Dave Vasilevsky
|
45
|
+
* David Biehl
|
46
|
+
* David Taylor
|
47
|
+
* Dimitrij Denissenko
|
48
|
+
* Dominik Richter
|
49
|
+
* Doug McInnes
|
50
|
+
* Esteban Pastorino
|
51
|
+
* Eugene Howe
|
52
|
+
* Evan Phoenix
|
53
|
+
* Fabian Wiesel
|
54
|
+
* Federico Ravasio
|
55
|
+
* Felix Wolfsteller
|
56
|
+
* Glenn Pratt
|
57
|
+
* Graeme Nelson
|
58
|
+
* Grey Baker
|
59
|
+
* Guillaume Balaine
|
60
|
+
* Hakan Ensari
|
61
|
+
* Hiroshi Hatake
|
62
|
+
* Ian Neubert
|
63
|
+
* Igor Fedoronchuk
|
64
|
+
* Jacob Atzen
|
65
|
+
* James Cox
|
66
|
+
* James Watling
|
67
|
+
* Jean Mertz
|
68
|
+
* Jeremy Hinegardner
|
69
|
+
* Jesse Kempf
|
70
|
+
* Jessica Jiang
|
71
|
+
* Joe Rafaniello
|
72
|
+
* John Keiser
|
73
|
+
* John Leach
|
74
|
+
* Jonas Pfenniger
|
75
|
+
* Jonathan Dance
|
76
|
+
* Jonathan Roes
|
77
|
+
* Joshua B. Smith
|
78
|
+
* Joshua Gross
|
79
|
+
* Joshua Mckinney
|
80
|
+
* Joshua Napoli
|
81
|
+
* Kelly Mahan
|
82
|
+
* Kensuke Nagae
|
83
|
+
* Kimmo Lehto
|
84
|
+
* Koen Rouwhorst
|
85
|
+
* Konstantin Shabanov
|
86
|
+
* Kyle Purkiss
|
87
|
+
* Kyle Rames
|
88
|
+
* Lewis Marshall
|
89
|
+
* Lincoln Stoll
|
90
|
+
* Louis Sobel
|
91
|
+
* Mahemoff
|
92
|
+
* Marco Costa
|
93
|
+
* Markus Bucher
|
94
|
+
* Mathias Meyer
|
95
|
+
* Matt Gauger
|
96
|
+
* Matt Palmer
|
97
|
+
* Matt Sanders
|
98
|
+
* Matt Snyder
|
99
|
+
* Matt Todd
|
100
|
+
* Maurice Schreiber
|
101
|
+
* Max Lincoln
|
102
|
+
* Michael Brodhead
|
103
|
+
* Michael Hale
|
104
|
+
* Michael Rowe
|
105
|
+
* Michael Rykov
|
106
|
+
* Mike Heffner
|
107
|
+
* Milovan Zogovic
|
108
|
+
* Myron Marston
|
109
|
+
* Nathan Long
|
110
|
+
* Nathan Sutton
|
111
|
+
* Nick Osborn
|
112
|
+
* Nicolas Leger
|
113
|
+
* Nicolas Sanguinetti
|
114
|
+
* Paul Gideon Dann
|
115
|
+
* Pavel
|
116
|
+
* Pavel Valena
|
117
|
+
* Peter Meier
|
118
|
+
* Peter Weldon
|
119
|
+
* Phil Ross
|
120
|
+
* Raul Murciano
|
121
|
+
* Richard Godbee
|
122
|
+
* Richard Ramsden
|
123
|
+
* Rohan Mendon
|
124
|
+
* Ruslan Korolev
|
125
|
+
* Ruslan Kyrychuk
|
126
|
+
* Ryan Bigg
|
127
|
+
* Ryan Mohr
|
128
|
+
* Ryan Schlesinger
|
129
|
+
* Ryoji Yoshioka
|
130
|
+
* Sam
|
131
|
+
* Sam Lehman
|
132
|
+
* Sam Withrow
|
133
|
+
* Scott Gonyea
|
134
|
+
* Scott Walkinshaw
|
135
|
+
* Sean Cribbs
|
136
|
+
* Sergio Rubio
|
137
|
+
* Shai Rosenfeld
|
138
|
+
* Stan Hu
|
139
|
+
* Stefan Merettig
|
140
|
+
* Stephen Chu
|
141
|
+
* Swanand Pagnis
|
142
|
+
* Terry Howe
|
143
|
+
* Thom Mahoney & Josh Lane
|
144
|
+
* Thom May
|
145
|
+
* Tim Carey-Smith
|
146
|
+
* Timothée Peignier
|
147
|
+
* Tobias Schmidt
|
148
|
+
* Todd Lunter
|
149
|
+
* Tom Maher
|
150
|
+
* Trym Skaar
|
151
|
+
* Tuomas Silen
|
152
|
+
* Victor Costan
|
153
|
+
* Viven
|
154
|
+
* Vít Ondruch
|
155
|
+
* Wesley Beary
|
156
|
+
* Yusuke Nakamura
|
157
|
+
* Zach Anker
|
158
|
+
* chrisrhoden
|
159
|
+
* dependabot[bot]
|
160
|
+
* dickeyxxx
|
161
|
+
* geemus
|
162
|
+
* geemus (Wesley Beary)
|
163
|
+
* ggoodale
|
164
|
+
* ivan.filenko
|
165
|
+
* jasquat
|
166
|
+
* karimb
|
167
|
+
* marios
|
168
|
+
* mkb
|
169
|
+
* nathannaveen
|
170
|
+
* ojab
|
171
|
+
* patrick brisbin
|
172
|
+
* pavel
|
173
|
+
* phiggins
|
174
|
+
* rin_ne
|
175
|
+
* rinrinne
|
176
|
+
* rkyrychuk
|
177
|
+
* shale
|
178
|
+
* sshaw
|
179
|
+
* starbelly
|
180
|
+
* twrodriguez
|
181
|
+
* wsnarski
|
182
|
+
* zimbatm
|
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: Tue
|
4
|
+
## Certificate data from Mozilla as of: Tue Jan 10 04:12:06 2023 GMT
|
5
5
|
##
|
6
6
|
## This is a bundle of X.509 certificates of public Certificate Authorities
|
7
7
|
## (CA). These were automatically extracted from Mozilla's root certificates
|
@@ -14,7 +14,7 @@
|
|
14
14
|
## Just configure this file as the SSLCACertificateFile.
|
15
15
|
##
|
16
16
|
## Conversion done with mk-ca-bundle.pl version 1.29.
|
17
|
-
## SHA256:
|
17
|
+
## SHA256: 90c470e705b4b5f36f09684dc50e2b79c8b86989a848b62cd1a7bd6460ee65f6
|
18
18
|
##
|
19
19
|
|
20
20
|
|
@@ -489,29 +489,6 @@ IGfE7vmLV2H0knZ9P4SNVbfo5azV8fUZVqZa+5Acr5Pr5RzUZ5ddBA6+C4OmF4O5MBKgxTMVBbkN
|
|
489
489
|
+8cFduPYSo38NBejxiEovjBFMR7HeL5YYTisO+IBZQ==
|
490
490
|
-----END CERTIFICATE-----
|
491
491
|
|
492
|
-
Network Solutions Certificate Authority
|
493
|
-
=======================================
|
494
|
-
-----BEGIN CERTIFICATE-----
|
495
|
-
MIID5jCCAs6gAwIBAgIQV8szb8JcFuZHFhfjkDFo4DANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQG
|
496
|
-
EwJVUzEhMB8GA1UEChMYTmV0d29yayBTb2x1dGlvbnMgTC5MLkMuMTAwLgYDVQQDEydOZXR3b3Jr
|
497
|
-
IFNvbHV0aW9ucyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMDYxMjAxM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yfJj4akH/nxxH2szJGoeBfcFaMBqEssuXmHLrijTfsK0ZpEmXzwuJF/LWA/rKOyvEZbz3Htv
|
511
|
-
wKeI8lN3s2Berq4o2jUsbzRF0ybh3uxbTydrFny9RAQYgrOJeRcQcT16ohZO9QHNpGxlaKFJdlxD
|
512
|
-
ydi8NmdspZS11My5vWo1ViHe2MPr+8ukYEywVaCge1ey
|
513
|
-
-----END CERTIFICATE-----
|
514
|
-
|
515
492
|
COMODO ECC Certification Authority
|
516
493
|
==================================
|
517
494
|
-----BEGIN CERTIFICATE-----
|
@@ -1654,36 +1631,6 @@ uglB4Zf4+/2a4n0Sye18ZNPLBSWLVtmg515dTguDnFt2KaAJJiFqYgIwcdK1j1zqO+F4CYWodZI7
|
|
1654
1631
|
yFz9SO8NdCKoCOJuxUnOxwy8p2Fp8fc74SrL+SvzZpA3
|
1655
1632
|
-----END CERTIFICATE-----
|
1656
1633
|
|
1657
|
-
Staat der Nederlanden EV Root CA
|
1658
|
-
================================
|
1659
|
-
-----BEGIN CERTIFICATE-----
|
1660
|
-
MIIFcDCCA1igAwIBAgIEAJiWjTANBgkqhkiG9w0BAQsFADBYMQswCQYDVQQGEwJOTDEeMBwGA1UE
|
1661
|
-
CgwVU3RhYXQgZGVyIE5lZGVybGFuZGVuMSkwJwYDVQQDDCBTdGFhdCBkZXIgTmVkZXJsYW5kZW4g
|
1662
|
-
RVYgUm9vdCBDQTAeFw0xMDEyMDgxMTE5MjlaFw0yMjEyMDgxMTEwMjhaMFgxCzAJBgNVBAYTAk5M
|
1663
|
-
MR4wHAYDVQQKDBVTdGFhdCBkZXIgTmVkZXJsYW5kZW4xKTAnBgNVBAMMIFN0YWF0IGRlciBOZWRl
|
1664
|
-
cmxhbmRlbiBFViBSb290IENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA48d+ifkk
|
1665
|
-
SzrSM4M1LGns3Amk41GoJSt5uAg94JG6hIXGhaTK5skuU6TJJB79VWZxXSzFYGgEt9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
5SWEXwbKwYY5EdtYzXc7LMJMD16a4/CrPmEbUCTCwPTxGfARKbalGAKb12NMcIxHowNDXLldRqAN
|
1679
|
-
b/9Zjr7dn3LDWyvfjFvO5QxGbJKyCqNMVEIYFRIYvdr8unRu/8G2oGTYqV9Vrp9canaW2HNnh/tN
|
1680
|
-
f1zuacpzEPuKqf2evTY4SUmH9A4U8OmHuD+nT3pajnnUk+S7aFKErGzp85hwVXIy+TSrK0m1zSBi
|
1681
|
-
5Dp6Z2Orltxtrpfs/J92VoguZs9btsmksNcFuuEnL5O7Jiqik7Ab846+HUCjuTaPPoIaGl6I6lD4
|
1682
|
-
WeKDRikL40Rc4ZW2aZCaFG+XroHPaO+Zmr615+F/+PoTRxZMzG0IQOeLeG9QgkRQP2YGiqtDhFZK
|
1683
|
-
DyAthg710tvSeopLzaXoTvFeJiUBWSOgftL2fiFX1ye8FVdMpEbB4IMeDExNH08GGeL5qPQ6gqGy
|
1684
|
-
eUN51q1veieQA6TqJIc/2b3Z6fJfUEkc7uzXLg==
|
1685
|
-
-----END CERTIFICATE-----
|
1686
|
-
|
1687
1634
|
IdenTrust Commercial Root CA 1
|
1688
1635
|
==============================
|
1689
1636
|
-----BEGIN CERTIFICATE-----
|
@@ -2135,87 +2082,6 @@ F8Io2c9Si1vIY9RCPqAzekYu9wogRlR+ak8x8YF+QnQ4ZXMn7sZ8uI7XpTrXmKGcjBBV09tL7ECQ
|
|
2135
2082
|
aaApJUqlyyvdimYHFngVV3Eb7PVHhPOeMTd61X8kreS8/f3MboPoDKi3QWwH3b08hpcv0g==
|
2136
2083
|
-----END CERTIFICATE-----
|
2137
2084
|
|
2138
|
-
TrustCor RootCert CA-1
|
2139
|
-
======================
|
2140
|
-
-----BEGIN CERTIFICATE-----
|
2141
|
-
MIIEMDCCAxigAwIBAgIJANqb7HHzA7AZMA0GCSqGSIb3DQEBCwUAMIGkMQswCQYDVQQGEwJQQTEP
|
2142
|
-
MA0GA1UECAwGUGFuYW1hMRQwEgYDV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wYD
|
2183
|
-
VR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAYYwDQYJKoZIhvcNAQELBQADggIBAJ5Fngw7tu/h
|
2184
|
-
Osh80QA9z+LqBrWyOrsGS2h60COXdKcs8AjYeVrXWoSK2BKaG9l9XE1wxaX5q+WjiYndAfrs3fnp
|
2185
|
-
kpfbsEZC89NiqpX+MWcUaViQCqoL7jcjx1BRtPV+nuN79+TMQjItSQzL/0kMmx40/W5ulop5A7Zv
|
2186
|
-
2wnL/V9lFDfhOPXzYRZY5LVtDQsEGz9QLX+zx3oaFoBg+Iof6Rsqxvm6ARppv9JYx1RXCI/hOWB3
|
2187
|
-
S6xZhBqI8d3LT3jX5+EzLfzuQfogsL7L9ziUwOHQhQ+77Sxzq+3+knYaZH9bDTMJBzN7Bj8RpFxw
|
2188
|
-
PIXAz+OQqIN3+tvmxYxoZxBnpVIt8MSZj3+/0WvitUfW2dCFmU2Umw9Lje4AWkcdEQOsQRivh7dv
|
2189
|
-
DDqPys/cA8GiCcjl/YBeyGBCARsaU1q7N6a3vLqE6R5sGtRk2tRD/pOLS/IseRYQ1JMLiI+h2IYU
|
2190
|
-
RpFHmygk71dSTlxCnKr3Sewn6EAes6aJInKc9Q0ztFijMDvd1GpUk74aTfOTlPf8hAs/hCBcNANE
|
2191
|
-
xdqtvArBAs8e5ZTZ845b2EzwnexhF7sUMlQMAimTHpKG9n/v55IFDlndmQguLvqcAFLTxWYp5KeX
|
2192
|
-
RKQOKIETNcX2b2TmQcTVL8w0RSXPQQCWPUouwpaYT05KnJe32x+SMsj/D1Fu1uwJ
|
2193
|
-
-----END CERTIFICATE-----
|
2194
|
-
|
2195
|
-
TrustCor ECA-1
|
2196
|
-
==============
|
2197
|
-
-----BEGIN CERTIFICATE-----
|
2198
|
-
MIIEIDCCAwigAwIBAgIJAISCLF8cYtBAMA0GCSqGSIb3DQEBCwUAMIGcMQswCQYDVQQGEwJQQTEP
|
2199
|
-
MA0GA1UECAwGUGFuYW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UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsF
|
2212
|
-
AAOCAQEABT41XBVwm8nHc2FvcivUwo/yQ10CzsSUuZQRg2dd4mdsdXa/uwyqNsatR5Nj3B5+1t4u
|
2213
|
-
/ukZMjgDfxT2AHMsWbEhBuH7rBiVDKP/mZb3Kyeb1STMHd3BOuCYRLDE5D53sXOpZCz2HAF8P11F
|
2214
|
-
hcCF5yWPldwX8zyfGm6wyuMdKulMY/okYWLW2n62HGz1Ah3UKt1VkOsqEUc8Ll50soIipX1TH0Xs
|
2215
|
-
J5F95yIW6MBoNtjG8U+ARDL54dHRHareqKucBK+tIA5kmE2la8BIWJZpTdwHjFGTot+fDz2LYLSC
|
2216
|
-
jaoITmJF4PkL0uDgPFveXHEnJcLmA4GLEFPjx1WitJ/X5g==
|
2217
|
-
-----END CERTIFICATE-----
|
2218
|
-
|
2219
2085
|
SSL.com Root Certification Authority RSA
|
2220
2086
|
========================================
|
2221
2087
|
-----BEGIN CERTIFICATE-----
|
data/excon.gemspec
CHANGED
@@ -26,7 +26,6 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.add_development_dependency('eventmachine', '>= 1.0.4')
|
27
27
|
s.add_development_dependency('open4')
|
28
28
|
s.add_development_dependency('rake')
|
29
|
-
s.add_development_dependency('rdoc')
|
30
29
|
s.add_development_dependency('shindo')
|
31
30
|
s.add_development_dependency('sinatra')
|
32
31
|
s.add_development_dependency('sinatra-contrib')
|
data/lib/excon/connection.rb
CHANGED
@@ -89,7 +89,9 @@ module Excon
|
|
89
89
|
end
|
90
90
|
|
91
91
|
if @data[:scheme] == UNIX
|
92
|
-
|
92
|
+
# 'uri' >= v0.12.0 returns an empty string instead of nil for no host.
|
93
|
+
# So treat the parameter as present if and only if it is both non-nill and non-empty.
|
94
|
+
if @data[:host] && !@data[:host].empty?
|
93
95
|
raise ArgumentError, "The `:host` parameter should not be set for `unix://` connections.\n" +
|
94
96
|
"When supplying a `unix://` URI, it should start with `unix:/` or `unix:///`."
|
95
97
|
elsif !@data[:socket]
|
@@ -577,6 +579,8 @@ module Excon
|
|
577
579
|
raise ArgumentError, "The `:ssl_proxy_headers` parameter should only be used with HTTPS requests."
|
578
580
|
end
|
579
581
|
if @data[:proxy][:scheme] == UNIX
|
582
|
+
# URI.parse might return empty string for security reasons.
|
583
|
+
@data[:proxy][:host] = nil if @data[:proxy][:host] == ""
|
580
584
|
if @data[:proxy][:host]
|
581
585
|
raise ArgumentError, "The `:host` parameter should not be set for `unix://` proxies.\n" +
|
582
586
|
"When supplying a `unix://` URI, it should start with `unix:/` or `unix:///`."
|
data/lib/excon/response.rb
CHANGED
@@ -20,15 +20,24 @@ module Excon
|
|
20
20
|
def host
|
21
21
|
@data[:host]
|
22
22
|
end
|
23
|
+
def scheme
|
24
|
+
@data[:scheme]
|
25
|
+
end
|
23
26
|
def local_address
|
24
27
|
@data[:local_address]
|
25
28
|
end
|
26
29
|
def local_port
|
27
30
|
@data[:local_port]
|
28
31
|
end
|
32
|
+
def http_method # can't be named "method"
|
33
|
+
@data[:method]
|
34
|
+
end
|
29
35
|
def path
|
30
36
|
@data[:path]
|
31
37
|
end
|
38
|
+
def query
|
39
|
+
@data[:query]
|
40
|
+
end
|
32
41
|
def port
|
33
42
|
@data[:port]
|
34
43
|
end
|
@@ -72,8 +81,11 @@ module Excon
|
|
72
81
|
:body => String.new,
|
73
82
|
:cookies => [],
|
74
83
|
:host => datum[:host],
|
84
|
+
:scheme => datum[:scheme],
|
85
|
+
:method => datum[:method],
|
75
86
|
:headers => Excon::Headers.new,
|
76
87
|
:path => datum[:path],
|
88
|
+
:query => datum[:query],
|
77
89
|
:port => datum[:port],
|
78
90
|
:status => status,
|
79
91
|
:status_line => line,
|
data/lib/excon/socket.rb
CHANGED
@@ -72,8 +72,8 @@ module Excon
|
|
72
72
|
if idx.nil?
|
73
73
|
result << block
|
74
74
|
else
|
75
|
-
|
76
|
-
|
75
|
+
result << block.slice!(0, idx+1)
|
76
|
+
add_to_read_buffer(block)
|
77
77
|
break
|
78
78
|
end
|
79
79
|
block = read_nonblock(@data[:chunk_size]) || raise(EOFError)
|
@@ -194,8 +194,14 @@ module Excon
|
|
194
194
|
|
195
195
|
def read_nonblock(max_length)
|
196
196
|
begin
|
197
|
-
|
198
|
-
@
|
197
|
+
if max_length
|
198
|
+
until @backend_eof || @read_buffer.length >= max_length
|
199
|
+
@read_buffer << @socket.read_nonblock(max_length - @read_buffer.length)
|
200
|
+
end
|
201
|
+
else
|
202
|
+
while !@backend_eof
|
203
|
+
@read_buffer << @socket.read_nonblock(@data[:chunk_size])
|
204
|
+
end
|
199
205
|
end
|
200
206
|
rescue OpenSSL::SSL::SSLError => error
|
201
207
|
if error.message == 'read would block'
|
data/lib/excon/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: excon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.97.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dpiddy (Dan Peterson)
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2023-01-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|
@@ -96,20 +96,6 @@ dependencies:
|
|
96
96
|
- - ">="
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: '0'
|
99
|
-
- !ruby/object:Gem::Dependency
|
100
|
-
name: rdoc
|
101
|
-
requirement: !ruby/object:Gem::Requirement
|
102
|
-
requirements:
|
103
|
-
- - ">="
|
104
|
-
- !ruby/object:Gem::Version
|
105
|
-
version: '0'
|
106
|
-
type: :development
|
107
|
-
prerelease: false
|
108
|
-
version_requirements: !ruby/object:Gem::Requirement
|
109
|
-
requirements:
|
110
|
-
- - ">="
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: '0'
|
113
99
|
- !ruby/object:Gem::Dependency
|
114
100
|
name: shindo
|
115
101
|
requirement: !ruby/object:Gem::Requirement
|