POST/PUT in NSS allow multiple resource with same url and different content-type

オープン
#1,529 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript, node.js
領域
api, backend

調査の方向性

/foo.txt に対する text/plain と text/turtle を使った POST および PUT リクエストと、/foo.txt/ に対するコンテナリクエストをまず再現します。次に、関連する GET とリダイレクトの挙動を調査します。リソース URL と末尾のスラッシュの挙動が一貫して定義され、同じ URL を持つ重複リソースが防止されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

You can create resources :

  1. https://pod/foo.txt with content-type text/plain => creates file : /foo.txt
  2. https://pod/foo.txt with content-type text/turtle => creates file /foo.txt$.ttl
  3. https://pod/foo.txt/ as a container => creates folder /foo.txt

The first 2 have the same url and there are 2 different files created.
All 3 have the same visual representation in SolidOs.

The first 2 should not occur and I think this is a bug
For the third one I remember @timbl writing it should not occur, but did not find where.
There was also a redirect discussion between foo/bar/ and foo/bar. His this something to do in GET ?

Is there any solid/specification, I did not find anything ? @csarven @michielbdejong

主要言語
JavaScript
スター
1.8k
フォーク
308
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nodeSolidServer/node-solid-server のほかの issue

nodeSolidServer/node-solid-server の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。