Headers and the response code can now be set in the view response method.