Skip to content

Commit

Permalink
Merge pull request #1 from AgregoreWeb/daemon-spec
Browse files Browse the repository at this point in the history
Update mutability tests to match spec
  • Loading branch information
RangerMauve authored May 16, 2022
2 parents e057640 + 2c4f444 commit 0b72465
Show file tree
Hide file tree
Showing 3 changed files with 292 additions and 69 deletions.
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

0 comments on commit 0b72465

Please sign in to comment.