Gateway API does not return headers on errors
Open
kind/bug
topic/CORS
topic/gateway
- Dominant language
- Go
- Stars
- 17.1k
- Forks
- 3.2k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 11
Description
#### Version information:
0.4.22
#### Description:
The IPFS API only returns custom headers when successful, any errors the headers are not sent back.
This means if a remote browser requests a hash and any error is encountered the browser gets a CORS error "No access-request-allow-origin" and cannot read the error message.
Contributor guide
Assessment
This issue has not been assessed yet.