Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't set Content-Length in Base#response_body= since body may be any…

… Rack-compatible body. Leave it up to the content length middleware.
  • Loading branch information...
commit 1414e2afbba0ab116632ecabf8ed92ddf09dcba4 1 parent df42d26
@jeremy jeremy authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  actionpack/lib/action_controller/new_base/base.rb
View
1  actionpack/lib/action_controller/new_base/base.rb
@@ -42,7 +42,6 @@ def self.call(env)
# :api: plugin
def response_body=(body)
- @_response["Content-Length"] = body.length
@_response.body = body
end
Please sign in to comment.
Something went wrong with that request. Please try again.