pub fn check_response_header(header: &Option<ResponseHeader>) -> Result<()>
Checks that the response contains a successful application status.