fix: Preserve content-type when present in SPARQL accessor#2126
Merged
joachimvh merged 1 commit intoCommunitySolidServer:versions/next-majorfrom Mar 3, 2026
Merged
Conversation
e1d62c8 to
d599f61
Compare
joachimvh
approved these changes
Mar 3, 2026
8575af4
into
CommunitySolidServer:versions/next-major
18 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📁 Related issues
✍️ Description
I wrote a
HybridDataAccessorthat hasrdfAccessorthat stores all the RDF, containers and metadata - in my case in SPARQL endpoint, andbinaryAccessorthat stores non-RDF. Im my case it uses S3 API and open source Garage as object storage. Since I store metadata for everyting in SPARQL I need to be able to the original content type that was stored. This PR prevents it from being overwritten✅ PR check list
Before this pull request can be merged, a core maintainer will check whether
Discussed with @joachimvh https://matrix.to/#/!FYRTVjiUaXQvzzfwZM:gitter.im/$G7qk6H9tmDdTWgFPcLwttEw0ziqphVFaV0j4VRYm870?via=gitter.im&via=matrix.org&via=matrix1.link
Im working with 8 alpha packages and build OCI images in CI that use that version. I'm targeting
versions/next-majorhoping that it could be relased to npm after it's merged 🤞