Skip to content

Commit

Permalink
Merged Pull Request '#113 modified-since-header-to-utc->main : If-Mod…
Browse files Browse the repository at this point in the history
…ified-Since header formatted toUTCString'

If-Modified-Since header formatted toUTCString
  • Loading branch information
Automation51D authored May 3, 2024
2 parents d9e68e7 + d1a89b0 commit 6db2c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fiftyone.pipeline.engines/dataFileUpdateService.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down

0 comments on commit 6db2c7f

Please sign in to comment.