-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: object store http header last modified #4834
Conversation
I need to think on this, it might be we need to loosen the requirements for HttpStore, ideally as a configurable option. However, as written this PR will loosen the requirements for things like S3, etc... which I'm not sure is a good idea |
That makes sense. I just pushed up a refactor that changes This should leave the other object stores like S3 unaffected. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, I tried to apply the changes to avoid a round-trip but it would appear your PR blocks edits by maintainers, so I've added them as suggestions instead
Co-authored-by: Raphael Taylor-Davies <[email protected]>
Co-authored-by: Raphael Taylor-Davies <[email protected]>
Co-authored-by: Raphael Taylor-Davies <[email protected]>
* fix: object store http header last modified * refactor: make headermeta configurable on required fields * Update object_store/src/client/header.rs Co-authored-by: Raphael Taylor-Davies <[email protected]> * Update object_store/src/client/header.rs Co-authored-by: Raphael Taylor-Davies <[email protected]> * Update object_store/src/client/header.rs Co-authored-by: Raphael Taylor-Davies <[email protected]> --------- Co-authored-by: Raphael Taylor-Davies <[email protected]>
Which issue does this PR close?
Closes #4831
Rationale for this change
object store 0.7.0 caused breaking changes in fetching from endpoints without
last_modified
What changes are included in this PR?
If the
last-modified
header is not present, it will default to the epoch.Are there any user-facing changes?