aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/controllers/object-storage-proxy.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/controllers/object-storage-proxy.ts b/server/controllers/object-storage-proxy.ts
index 6bff05f14..c530b57f8 100644
--- a/server/controllers/object-storage-proxy.ts
+++ b/server/controllers/object-storage-proxy.ts
@@ -110,6 +110,7 @@ function handleObjectStorageFailure (res: express.Response, err: Error) {
110 110
111function setS3Headers (res: express.Response, s3Response: GetObjectCommandOutput) { 111function setS3Headers (res: express.Response, s3Response: GetObjectCommandOutput) {
112 if (s3Response.$metadata.httpStatusCode === HttpStatusCode.PARTIAL_CONTENT_206) { 112 if (s3Response.$metadata.httpStatusCode === HttpStatusCode.PARTIAL_CONTENT_206) {
113 res.setHeader('Content-Range', s3Response.ContentRange)
113 res.status(HttpStatusCode.PARTIAL_CONTENT_206) 114 res.status(HttpStatusCode.PARTIAL_CONTENT_206)
114 } 115 }
115} 116}