ipfs / ipfs/kubo

Gateway API does not return headers on errors

Open
#6,584 0 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.