From d1a89b0faa3d069d777c687e3b05f957ce1ddc6a Mon Sep 17 00:00:00 2001 From: roman Date: Tue, 30 Apr 2024 12:18:54 +0300 Subject: [PATCH] If-Modified-Since header formatted toUTCString --- fiftyone.pipeline.engines/dataFileUpdateService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fiftyone.pipeline.engines/dataFileUpdateService.js b/fiftyone.pipeline.engines/dataFileUpdateService.js index ed35565..78c1552 100644 --- a/fiftyone.pipeline.engines/dataFileUpdateService.js +++ b/fiftyone.pipeline.engines/dataFileUpdateService.js @@ -89,7 +89,7 @@ class DataFileUpdateService { if (dataFile.verifyIfModifiedSince) { try { requestOptions.headers = { - 'If-Modified-Since': dataFile.getDatePublished() + 'If-Modified-Since': dataFile.getDatePublished().toUTCString() }; } catch (e) {