Module: ActionController::Live::ClassMethods
- Defined in:
- actionpack/lib/action_controller/metal/live.rb
Instance Method Summary collapse
Instance Method Details
permalink #make_response!(request) ⇒ Object
[View source]
41 42 43 44 45 46 47 48 49 |
# File 'actionpack/lib/action_controller/metal/live.rb', line 41 def make_response!(request) if request.get_header("HTTP_VERSION") == "HTTP/1.0" super else Live::Response.new.tap do |res| res.request = request end end end |