nodeSolidServer / nodeSolidServer/node-solid-server

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

未關閉
#1,321 1 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

@jaxoncreed 已經在處理了。

開始於 2019年10月22日。

主要語言
JavaScript
星號
1.8k
分支
308
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。