Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mutability tests to match spec #1

Merged
merged 9 commits into from
May 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 18 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,25 @@ Progress: https://github.com/ipfs/community/discussions/573
- [x] Render empty directories
- [x] Resolve `index.html` in a path
- `mutable.html` Tests (experimental, some things subject to change)
- [x] JS `fetch('ipfs://CID/example.txt', {method: 'POST'})`
- [x] JS `fetch('ipns://CID/', {method: 'POST'})`
- [x] JS `fetch('ipns://CID/example.txt', {method: 'POST'})`
- [x] JS `fetch('ipfs://CID/', {method: 'POST', body: new FormData})`
- [x] JS `fetch('ipfs://CID/example.txt', {method: 'DELETE'})`
- [x] JS `fetch('ipns://CID/example.txt', {method: 'DELETE'})`
- [x] JS `fetch('ipfs://<CID>/example.txt', {method: 'PUT'})`
- [x] JS `fetch('ipfs://<CID>/', {method: 'PUT', body: new FormData})`
- [x] JS `fetch('ipfs://<CID>/example.txt', {method: 'DELETE'})`
- [x] JS `fetch('ipns://<key>', {method: 'POST', body: <CID>})`
- [x] JS `fetch('ipns://<key>/example.txt', {method: 'POST', body: <CID>})`
- [x] JS `fetch('ipns://<key>', {method: 'PUT', body: file})`
- [x] JS `fetch('ipns://<key>/example', {method: 'PUT', body: file})`
- [x] JS `fetch('ipns://<key>', {method: 'PUT', body: formdata})`
- [x] JS `fetch('ipns://<key>/example', {method: 'PUT', body: formdata})`
- [x] JS `fetch('ipns://<key>/example.txt', {method: 'DELETE'})`
- [x] JS `fetch('ipns://localhost?key=<name>', {method: 'GET})`
- [x] JS `fetch('ipns://localhost?key=<name>', {method: 'DELETE})`
- `dag.html` Tests (experimental, some things subject to change)
- [x] GET `ipfs://CID/?format=CAR`
- [x] GET `ipfs://CID/?format=block`
- [x] GET `ipfs://CID/?format=dag-json`
- [x] GET `ipfs://CID/?format=dag-cbor`
- [x] POST `Content-Type: application/json` `?format=dag-cbor` & GET `?format=dag-cbor`
- [x] POST over existing CID to add to graph
- [x] GET `ipfs://<CID>/?format=CAR`
- [x] GET `ipfs://<CID>/?format=block`
- [x] GET `ipfs://<CID>/?format=dag-json`
- [x] GET `ipfs://<CID>/?format=dag-cbor`
- [x] POST `Content-Type: application/json` `?format=dag-cbor` & GET `?format=dag-cbor`
- [x] POST over existing CID to add to graph

## Screenshots:

Expand Down
Loading