o-development / ldo

Monorepo for Linked Data Objects (ldo)
MIT License
23 stars 5 forks source link

useResource fails when content type contains charset parameter #14

Closed pchampin closed 2 months ago

pchampin commented 3 months ago

useResource was failing to load a turtle resource from my website ; I noticed that the content type was text/turtle;charset=utf-8. Changing it to text/turtle solved the issue.

I would expect that useResource correctly parse content-types, even when they contain parameters...