Skip to content

Commit

Permalink
If-Modified-Since header formatted toUTCString
Browse files Browse the repository at this point in the history
  • Loading branch information
romansertsov committed Apr 30, 2024
1 parent 1021814 commit d1a89b0
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 d1a89b0

Please sign in to comment.