Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
dekellum committed Nov 1, 2011
1 parent bca521f commit 55635aa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/fishwife/rack_servlet.rb
Expand Up @@ -205,8 +205,9 @@ def rack_to_servlet(rack_response, response)
response.setContentType(content_type) if content_type

# Add all the result headers.
headers.each { |h, v| v.split("\n").each { |val|
response.addHeader(h, val) } }
headers.each do |h, v|
v.split("\n").each { |val| response.addHeader(h, val) }
end
end

# How else would we write output?
Expand Down

0 comments on commit 55635aa

Please sign in to comment.