Skip to content

Commit 5f1932c

Browse files
committed
Don't allow tombstones to block content updates.
1 parent 9065878 commit 5f1932c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/src/services/Fedora.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ export class Fedora {
271271
const md5 = crypto.createHash("md5").update(data).digest("hex");
272272
const sha = crypto.createHash("sha512").update(data).digest("hex");
273273
const headers: Record<string, string> = {
274+
"Overwrite-Tombstone": "true",
274275
"Content-Disposition": 'attachment; filename="' + stream + '"',
275276
"Content-Type": mimeType,
276277
Digest: "md5=" + md5 + ", sha-512=" + sha,

0 commit comments

Comments
 (0)