hatetepe 0.5.0.pre → 0.5.0.pre.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -100,6 +100,10 @@ module Hatetepe::Client
100
100
  Fiber.new do
101
101
  response = @app.call(request)
102
102
 
103
+ if response && request.verb == "HEAD"
104
+ response.body.close_write
105
+ end
106
+
103
107
  if !response || response.failure?
104
108
  request.fail(response)
105
109
  else
@@ -1,3 +1,3 @@
1
1
  module Hatetepe
2
- VERSION = "0.5.0.pre"
2
+ VERSION = "0.5.0.pre.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hatetepe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.pre
4
+ version: 0.5.0.pre.1
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-23 00:00:00.000000000 Z
12
+ date: 2012-05-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: http_parser.rb