Fix MS Exchange EWS: add support for version negotiation and other enhancements (closes #6)

This commit is contained in:
Maurus Decimus
2026-06-10 14:19:23 +02:00
parent bf0ef2083b
commit 295038d8c0
4 changed files with 34 additions and 11 deletions
+1 -1
View File
@@ -458,7 +458,7 @@ fn get_item_batches_chunk_the_id_list() {
let chunks: Vec<&[ItemId]> = ids.chunks(3).collect();
assert_eq!(chunks.len(), 3);
for chunk in &chunks {
let body = get_item_body(ItemShape::Message, chunk);
let body = get_item_body(ItemShape::Message, chunk, ServerVersion::Exchange2013Sp1);
assert!(body.contains("<m:GetItem>"));
for id in *chunk {
assert!(body.contains(&format!("Id=\"{}\"", id.id)));