Created
December 8, 2015 16:29
-
-
Save kalabiyau/f25ac166b65031e0bdad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git i/actionpack/lib/action_controller/metal/live.rb w/actionpack/lib/action_controller/metal/live.rb | |
index 6804e57..5b4ad86 100644 | |
--- i/actionpack/lib/action_controller/metal/live.rb | |
+++ w/actionpack/lib/action_controller/metal/live.rb | |
@@ -36,8 +36,7 @@ module ActionController | |
extend ActiveSupport::Concern | |
module ClassMethods | |
- def make_response!(response) | |
- request = response.request | |
+ def make_response!(request) | |
if request.get_header("HTTP_VERSION") == "HTTP/1.0" | |
super | |
else | |
@@ -288,8 +287,5 @@ module ActionController | |
response.close if response | |
end | |
- def set_response!(response) | |
- @_response = self.class.make_response! response | |
- end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment