async-http 0.71.0 → 0.72.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
- checksums.yaml.gz.sig +1 -3
- data/lib/async/http/client.rb +4 -0
- data/lib/async/http/middleware/location_redirector.rb +1 -11
- data/lib/async/http/server.rb +1 -0
- data/lib/async/http/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8b358f54acd8cf0943e35f30865d7f505025bad37a2c37e0dda5f8438efe3b25
|
|
4
|
+
data.tar.gz: a8a9eee82cc0723cf8101ef727072d4518a38ddb7e68f5f0f2d15027e92e83a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f5720d8ac42c48afb19bd5c387db2da015b2d210836c6d1a7abfe3cd3a4df85587c92b9bbdee61fce397302c66c8ca303c123d9e7f9a2201b26602ea0240e58
|
|
7
|
+
data.tar.gz: 91a543963515d1375953da096781b7b9d5a161e20bafc6aa067fbf0e09ff546ae3b48e18a5d8ca06dc5173184546898d415310b6bfbded5605040bce08443010
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,3 +1 @@
|
|
|
1
|
-
|
|
2
|
-
� Q>�&YR�s4�
|
|
3
|
-
����HR�!��?����� �����YW�"u��y�{J���n����2�������2k!$|5�(u5XQIm�+}ݟ�?e�����҅9��-�]�9��o�t���ޙ0��]�[��d�,�����3%^>\�t���#Yv���[�G�H� �Z(D|�b\Ȟ-��}F�$`��j0�9 ݼ:g�O
|
|
1
|
+
&���_��lB�k�M��ϟ��D��Ɋ�`��n�-��v�3��>�W��#O$�|a��S��O�n�r:ׯ�U9l�<���E��0|R�j�8z?��h��n���@V��a��f�0�^L��sr�R�S�/��2؛�.ps)Ho��GSB����f�5G����&�Zr�
|
data/lib/async/http/client.rb
CHANGED
|
@@ -81,17 +81,7 @@ module Async
|
|
|
81
81
|
# We don't want to follow redirects for HEAD requests:
|
|
82
82
|
return super if request.head?
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
if body.respond_to?(:rewind)
|
|
86
|
-
# The request body was already rewindable, so use it as is:
|
|
87
|
-
body = request.body
|
|
88
|
-
else
|
|
89
|
-
# The request body was not rewindable, and we might need to resubmit it if we get a response status of 307 or 308, so make it rewindable:
|
|
90
|
-
body = ::Protocol::HTTP::Body::Rewindable.new(body)
|
|
91
|
-
request.body = body
|
|
92
|
-
end
|
|
93
|
-
end
|
|
94
|
-
|
|
84
|
+
body = ::Protocol::HTTP::Body::Rewindable.wrap(request)
|
|
95
85
|
hops = 0
|
|
96
86
|
|
|
97
87
|
while hops <= @maximum_hops
|
data/lib/async/http/server.rb
CHANGED
data/lib/async/http/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: async-http
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.72.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
@@ -58,7 +58,7 @@ cert_chain:
|
|
|
58
58
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
|
59
59
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
|
60
60
|
-----END CERTIFICATE-----
|
|
61
|
-
date: 2024-08-
|
|
61
|
+
date: 2024-08-29 00:00:00.000000000 Z
|
|
62
62
|
dependencies:
|
|
63
63
|
- !ruby/object:Gem::Dependency
|
|
64
64
|
name: async
|
|
@@ -122,14 +122,14 @@ dependencies:
|
|
|
122
122
|
requirements:
|
|
123
123
|
- - "~>"
|
|
124
124
|
- !ruby/object:Gem::Version
|
|
125
|
-
version: '0.
|
|
125
|
+
version: '0.29'
|
|
126
126
|
type: :runtime
|
|
127
127
|
prerelease: false
|
|
128
128
|
version_requirements: !ruby/object:Gem::Requirement
|
|
129
129
|
requirements:
|
|
130
130
|
- - "~>"
|
|
131
131
|
- !ruby/object:Gem::Version
|
|
132
|
-
version: '0.
|
|
132
|
+
version: '0.29'
|
|
133
133
|
- !ruby/object:Gem::Dependency
|
|
134
134
|
name: protocol-http1
|
|
135
135
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
|
Binary file
|