Skip to content

Commit 7214d0b

Browse files
committed
compact denylist: remove mimetype blocking
1 parent 358677e commit 7214d0b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

COMPACT_DENYLIST_FORMAT.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -402,17 +402,6 @@ The BlockService should:
402402

403403
- Convert the CID to b58-encoded-multihash (that is CIDv0) and hash the CID string.
404404

405-
##### `/mime/MIMETYPE` `/mime/*`
406-
407-
Blocks content detected to be of the given type. `/mime/*` blocks all the mimetypes and is meant to work with allow rules (all mimetypes blocked except specific ones).
408-
409-
Blocking layer recommendation: Unixfs
410-
411-
Our recommendation is that /mime/ rules automatically set IPFS clients into a
412-
"unixfs only" mode where only unixfs (+raw blocks) are allowed at the
413-
BlockService layer, and content type is checked at the Unixfs layer, as the
414-
blocks get assembled into an actual files. That should cover gateway usage.
415-
416405
#### Allow (or negated) rules
417406

418407
Block items can be prepended by `!`, which means that items matching the rule are to be allowed rather than blocked.

0 commit comments

Comments
 (0)