class ActionController::Metal

def response=(response)

Assign the response and mark it as committed. No further processing will occur.
def response=(response)
  set_response!(response)
  # Force `performed?` to return true:
  @_response_body = true
end