diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-06-18 06:47:52 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-06-18 07:44:55 +0000 |
commit | fd1ec829c8c941143c8ae70b18e51838bc51da73 (patch) | |
tree | eb000f1e56e78334692c699aea5bb36f43a93289 /lib/rainbows/rev | |
parent | ed9f3e90939cfa9efcc6e5e9382f1e1f40c49834 (diff) | |
download | rainbows-fd1ec829c8c941143c8ae70b18e51838bc51da73.tar.gz |
HeaderHash objects can only be used as headers without violating Rack::Lint in Rack 1.1.0 or later.
Diffstat (limited to 'lib/rainbows/rev')
-rw-r--r-- | lib/rainbows/rev/deferred_response.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/rev/deferred_response.rb b/lib/rainbows/rev/deferred_response.rb index 62a308c..fd7a499 100644 --- a/lib/rainbows/rev/deferred_response.rb +++ b/lib/rainbows/rev/deferred_response.rb @@ -42,7 +42,7 @@ module Rainbows end client.defer_body(io, out) out.nil? or - client.write(HttpResponse.header_string(status, headers.to_hash, out)) + client.write(HttpResponse.header_string(status, headers, out)) end def initialize(io, client, do_chunk, body) |