refine app method: split response_body, status, response_headers