File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -679,7 +679,8 @@ Gateway MUST respond with HTTP error when it is not possible to traverse the req
679
679
- [ ` 404 Not Found ` ] ( #404-not-found ) should be returned when the root CID is valid and traversable, but
680
680
the DAG it represents does not include content path remainder.
681
681
- Error response body should indicate which part of immutable content path (` /ipfs/{cid}/path/to/file ` ) is missing
682
- - [ ` 400 Bad Request ` ] ( #400-bad-request ) can be used for remaining traversal errors caused by invalid or unsupported DAG types.
682
+ - [ ` 500 Internal Server Error ` ] ( #500-internal-server-error ) can be used for remaining traversal errors,
683
+ such as invalid CIDs, domains that cannot be resolved, or IPNS keys that cannot be resolved.
683
684
684
685
## Best practices for HTTP caching
685
686
You can’t perform that action at this time.
0 commit comments