class ActionDispatch::Response::RackBody

def respond_to?(method, include_private = false)

def respond_to?(method, include_private = false)
  if BODY_METHODS.key?(method)
    @response.stream.respond_to?(method)
  else
    super
  end
end