http-protocol 0.9.3 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b974b1656806fb5b7a5ccd13cca72eaa6787ea7029ac8f6618a50271a0abe794
4
- data.tar.gz: 54fae382c4ed75ca86b8362563235c83921ea064c52856ac505567e4e06abdd6
3
+ metadata.gz: 6d7eb5677113a92a47997510c060e0105f2c10ee594216469f655b1c669f9972
4
+ data.tar.gz: d1e93786ffd93d16b9d0d7958af486d21d60c8c231ce9a6ee614606295bf8bfb
5
5
  SHA512:
6
- metadata.gz: d3ead60aec525b0a1cb9b26888b1720551726489a4e0b2d9ea44c0e038d384d6a74be1a5272a7f4331a20d5bae956f42fae6b95c79ff9d43ecb3d03077eb4a58
7
- data.tar.gz: 53eb0a86de8f876a247090e506fa9a3a4024d5c2e6c6fcb4a7d3eaf9df98488446f4a85c064fc527f33625e112bb6e9891efc70d52271f5ca5a43670b980141a
6
+ metadata.gz: 92fddea1dabc6fdfd8e866a1fce397224f675f21ba4c113e294b1cd90d59fcd1c539fc96192fb0e733745fb62e41f8f6f2d2922dee2da028fd97e90ed3afff2b
7
+ data.tar.gz: 68be4ce7f96677418e2a366da3c72591ced7837b720700345395cebda9be07189aee71de2998eb439a288766864f80d60c2eb17532c87972d1b8175d1c2f67a3
@@ -205,10 +205,6 @@ module HTTP
205
205
 
206
206
  def write_empty_body(body)
207
207
  @stream.write("content-length: 0\r\n\r\n")
208
-
209
- # Consume the input body.
210
- body.each{} if body
211
-
212
208
  @stream.flush
213
209
  end
214
210
 
@@ -20,6 +20,6 @@
20
20
 
21
21
  module HTTP
22
22
  module Protocol
23
- VERSION = "0.9.3"
23
+ VERSION = "0.10.0"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http-protocol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams