Skip to content
Browse files

cosmetic

  • Loading branch information...
1 parent bca521f commit 55635aa4ea8127af159897c3d2c3a3e8fe4fd5a6 @dekellum committed
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/fishwife/rack_servlet.rb
View
5 lib/fishwife/rack_servlet.rb
@@ -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?

0 comments on commit 55635aa

Please sign in to comment.
Something went wrong with that request. Please try again.