nodeSolidServer / nodeSolidServer/node-solid-server

fetcher.load() on a container with index.html returns html

Aberta
#1,321 1 comentário 0 reações 1 responsável Ver no GitHub

@jaxoncreed já está trabalhando nisso.

Desde 22/10/2019.

Linguagem predominante
JavaScript
Estrelas
1.8k
Forks
308
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.