Returning response code on handle_4xx_500_response