Skip to content

Commit d15c5d2

Browse files
authored
Aligned multipart boundary. (#362)
Make the payload use the same prefix for the boundary as the header is saying
1 parent 0bc8af3 commit d15c5d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/storage/src/table/transaction.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ impl Transaction {
3232
let mut s = String::new();
3333

3434
s.push_str(&format!(
35-
"--transaction_{}\nContent-Type: multipart/mixed; boundary=changeset_{}\n\n",
35+
"--batch_{}\nContent-Type: multipart/mixed; boundary=changeset_{}\n\n",
3636
self.batch_uuid.to_hyphenated_ref(),
3737
self.change_set_uuid.to_hyphenated_ref()
3838
));
@@ -56,7 +56,7 @@ impl Transaction {
5656
}
5757

5858
s.push_str(&format!(
59-
"\n--changeset_{}--\n--transaction_{}\n",
59+
"\n--changeset_{}--\n--batch_{}\n",
6060
self.change_set_uuid.to_hyphenated_ref(),
6161
self.batch_uuid.to_hyphenated_ref(),
6262
));

0 commit comments

Comments
 (0)