Use the method correct_response from render.php.