pub async fn handle_xml_response<T: DeserializeOwned>( response: Response, request_body: Option<String>, ) -> Result<T>
Handle an HTTP response by checking status and parsing XML on success