You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use a custom data File URL and you are not in GMT timezone - you will see that the If-Modified-Since header created here is not in GMT, but in local time zone.
Background
If you use a custom data File URL and you are not in GMT timezone - you will see that the If-Modified-Since header created here is not in GMT, but in local time zone.
According to https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since HTTP dates are always expressed in GMT, never in local time.
Objective
.toUTCString()
applied to that date.The text was updated successfully, but these errors were encountered: