public ActionContext applyContentType ( Result result ) { if ( ! result . status ( ) . isError ( ) ) { return applyContentType ( ) ; } return applyContentType ( contentTypeForErrorResult ( req ( ) ) ) ; }
Apply content type to response with result provided .