inrupt / inrupt/solid-client-js
inrupt.com does not accept application/ld+json
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 245
- Forks
- 42
- Avg merge
- 12h 49m
- Merged PRs (30d)
- 22
Description
inrupt.com does not accept application/json+ld as mimetype, only application/json
shouldn't Entreprise inrupt server accept application/json+ld ?
try{
const savedFile = await overwriteFile(
n['ve:url'],
new Blob([JSON.stringify(n, undefined, 2)], { type: "application/json" }),
{ contentType: "application/json", fetch: sc.fetch }
// new Blob([JSON.stringify(n, undefined, 2)], { type: "application/ld+json" }),
// { contentType: "application/ld+json", fetch: sc.fetch }
);
console.log(`File saved at ${getSourceUrl(savedFile)}`);
//n.url = await getSourceUrl(savedFile)
// store.dispatch('nodes/saveNode', n)
return n
}catch(e){
console.log(e)
}
the app https://scenaristeur.github.io/verse/
the code https://github.com/scenaristeur/verse/blob/e2e7f4c895d62222d33eee6d05e6033c2c96e36c/src/plugins/solid-data.js#L55


Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked src/plugins/solid-data.js at line 55 and trace how solid-client-js handles the requested application/ld+json content type. Reproduce the request against inrupt.com, then determine whether the library or the server is responsible; done means the expected content type is accepted or the limitation is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100