nodeSolidServer / nodeSolidServer/node-solid-server
fetcher.load() on a container with index.html returns html
Offen
@jaxoncreed arbeitet bereits daran.
Seit 22.10.2019.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.8k
- Forks
- 308
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Querying a folder that contains an index.html with rdflib's Fetcher returns the index file instead of the desired triples.
I tried to query my root url https://ludwigschubert.solid/community/ with a rest client using the Accept: text/turtle header. That gave me the file in turtle format. So far so good.
Doing the same with the fetcher, which sends
Accept: image/*;q=0.9, */*;q=0.1, application/rdf+xml;q=0.9, application/xhtml+xml, text/xml;q=0.5, application/xml;q=0.5, text/html;q=0.9, text/plain;q=0.5, text/n3;q=1.0, text/turtle;q=1
gives me html
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.