lib/watchdocs/rails/middleware.rb in watchdocs-rails-0.1.0 vs lib/watchdocs/rails/middleware.rb in watchdocs-rails-0.1.1
- old
+ new
@@ -70,10 +70,9 @@
header.sub(/^HTTP_/, '')
.tr('_', '-')
end
def body_string(body)
- return if body.empty?
body_string = ''
body.each { |line| body_string += line }
body_string
end