123456789_123456789_123456789_123456789_123456789_

Module: ActionController::Live::ClassMethods

Relationships & Source Files
Defined in: actionpack/lib/action_controller/metal/live.rb

Instance Method Summary

Instance Method Details

#make_response!(request)

[ GitHub ]

  
# 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