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

ipfs / ipfs-cluster / 3345
66%
master: 65%

Build:
Build:
LAST BUILD BRANCH: feat/expvar
DEFAULT BRANCH: master
Ran 11 Jan 2019 12:37PM UTC
Jobs 1
Files 66
Run time 3s
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

11 Jan 2019 12:25PM UTC coverage: 65.657%. First build
3345

push

travis-ci

hsanjuan
Fix #639: restapi: Handle CORS preflight requests (OPTIONS)

This adds support for handling preflight requests in the REST API
and fixes currently mostly broken CORS.

Before we just let the user add custom response headers to the
configuration "headers" key but this is not the best way because
CORs headers and requests need special handling and doing it wrong
has security implications.

Therefore, I have added specific CORS-related configuration options
which control CORS behavour. We are forced to change the "headers"
defaults and will notify the users about this in the changelog.

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>

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

6676 of 10168 relevant lines covered (65.66%)

81.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3345.1 11 Jan 2019 12:37PM UTC 0
65.66
Travis Job 3345.1
Source Files on build 3345
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3345
  • adb290ed on github
  • Next Build on fix/639-cors-restapi (#3351)
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