protocol-http1 0.4.0 → 0.4.1
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.
Potentially problematic release.
This version of protocol-http1 might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/protocol/http1/connection.rb +2 -6
- data/lib/protocol/http1/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94d526ce1a8a2c9caae1c0574ef459928c867bc57ab04847c44b47fa48c66747
|
4
|
+
data.tar.gz: d86313d7a68a8c4299e191f01a459863015c0bb5f25ee41c9a00c8b50bec0e74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fdcaec4bf5f2ab7ab474dde0c4932cc7044af66a7e4f05d03f123c056882f52a7ac5ef1ed959aa6f7d1ba4067447f57dc388fb59c8bad36b6793d4f6aa521d5
|
7
|
+
data.tar.gz: 111e39f2a08e7fa0a428db08824400234e5bd48ef20e36c9ff1a6cc1f16863198d52015dd12ddc0e27a78ae2610c2d3c1db75fe7f69da31c8d8bd6f574b06ec0
|
@@ -220,13 +220,9 @@ module Protocol
|
|
220
220
|
@stream.write("\r\n")
|
221
221
|
@stream.flush
|
222
222
|
|
223
|
-
|
223
|
+
body.call(@stream) if body
|
224
224
|
|
225
|
-
|
226
|
-
body.call(@stream)
|
227
|
-
ensure
|
228
|
-
@stream.close_write
|
229
|
-
end
|
225
|
+
return @stream
|
230
226
|
end
|
231
227
|
|
232
228
|
def write_empty_body(body)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protocol-http1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
|
-
rubygems_version: 3.0.
|
122
|
+
rubygems_version: 3.0.3
|
123
123
|
signing_key:
|
124
124
|
specification_version: 4
|
125
125
|
summary: A low level implementation of the HTTP/1 protocol.
|