pub fn get_document_with_server( uri: String, server_authority: &str, ) -> Result<Document, Box<dyn Error>>