Skip to content

gateway: return 400 on /ipfs/invalid-cid #200

@hacdias

Description

@hacdias

On #185 we unified the behaviour of all resolution errors to return 500. However, this raised the concern that requests to /ipfs/invalid-cid should still return 400. Initially, we decided not to do so since we could not find an easy way to return it and with a unified behaviour, it would be easier for implementations.

TODO

Metadata

Metadata

Assignees

Labels

topic/gatewayIssues related to HTTP Gateway

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions