Alain Bourgeois
Alain Bourgeois
When a container URL is without a /, NSS is using a 301 redirect to a new URL ending with a / The issue is with 301 return code. When...
> So you are saying it looks as though rdflib uses the location of the initial resource not the one after the redirect, as a base address for parsing the...
In the Handle fetch() response `content-location` is checked has if it was a single location But `location` is nowhere checked Is the rdflib webOperation meant to do : - use...
I found the same and checking for the Link Container in response of latest fetch does resolve the issue. Replace https://github.com/linkeddata/rdflib.js/blob/main/src/fetcher.ts#L604 with ``` let baseUrl = options.original.value const isContainer =...
@angelo-v https://github.com/linkeddata/rdflib.js/pull/621 passes your test here is the npm version `[email protected]` to test with PodOS
> But still rdflib states that the resource without a trailing slash is of type `ldp:Container` which i think is wrong. @angelo-v I suppose this patch will resolve your point...
@angelo-v here is the npm version `[email protected]` to test with PodOS
https://github.com/SolidOS/solid-ui/pull/536#pullrequestreview-1353362763
resolved with https://github.com/linkeddata/rdflib.js/pull/589/commits/17052b62209a92112d21a01dd8d2cd2f5fde16a3
> * slug without extension add ext to slug : slug = slug + ext > > This is for POST only, and Resource only, correct? I can still PUT...