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
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Reproducible example
Found when scanning a hf:// URL and updating the remote file.
Log output
No response
Issue description
We fail to detect changes if the remote file is updated but has the same size. The HTTP HEAD response is always giving a last modified timestamp of 0 - we need to use the etag instead.
Expected behavior
The updated file is downloaded.
Installed versions
1.2.0 / main
The text was updated successfully, but these errors were encountered:
nameexhaustion
changed the title
File cache invalidation not triggered for HTTP unless size changes
File cache invalidation not triggered for HTTP if size is the same
Jul 17, 2024
Checks
Reproducible example
Found when scanning a
hf://
URL and updating the remote file.Log output
No response
Issue description
We fail to detect changes if the remote file is updated but has the same size. The HTTP HEAD response is always giving a last modified timestamp of 0 - we need to use the
etag
instead.Expected behavior
The updated file is downloaded.
Installed versions
1.2.0 / main
The text was updated successfully, but these errors were encountered: