Set content-type to the controller's response