Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
Merge pull request #139 from Asmod4n/patch-1
Browse files Browse the repository at this point in the history
Fix for headers allocation
  • Loading branch information
tarcieri committed Mar 7, 2014
2 parents 93cd32c + ed2c3be commit 5afcb7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reel/stream.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def initialize(status, headers, body)
raise TypeError, "can't render #{@body.class} as a response body"
end

@headers = canonicalize_headers(headers)
@headers = HTTP::Headers.new(headers)
@version = http_version
end

Expand Down

0 comments on commit 5afcb7f

Please sign in to comment.