• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ipfs / ipfs-cluster / 3217
65%
master: 65%

Build:
Build:
LAST BUILD BRANCH: feat/expvar
DEFAULT BRANCH: master
Ran 18 Dec 2018 03:04PM UTC
Jobs 1
Files 58
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Dec 2018 02:57PM UTC coverage: 62.962% (-2.1%) from 65.09%
3217

Pull #623

travis-ci

web-flow
Fix #382: Extract headers from IPFS API requests & apply them to hijacked ones.

This commit makes the proxy extract useful fixed headers (like CORS) from
the IPFS daemon API responses and then apply them to the responses
from hijacked endpoints like /add or /repo/stat.

It does this by caching a list of headers from the first IPFS API
response which has them. If we have not performed any proxied request or
managed to obtain the headers we're interested in, this will try triggering a
request to "/api/v0/version" to obtain them first.

This should fix the issues with using Cluster proxy with IPFS Companion and
Chrome.

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
Pull Request #623: Fix #382: Extract headers from IPFS API requests and apply them to hijacked ones.

52 of 52 new or added lines in 2 files covered. (100.0%)

5195 of 8251 relevant lines covered (62.96%)

15.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3217.1 18 Dec 2018 03:04PM UTC 0
62.96
Travis Job 3217.1
Source Files on build 3217
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3217
  • Pull Request #623
  • PR Base - master (#3202)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc