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

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

Build:
Build:
LAST BUILD BRANCH: feat/expvar
DEFAULT BRANCH: master
Ran 11 Jan 2019 12:45PM UTC
Jobs 1
Files 66
Run time 7s
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:30PM UTC coverage: 65.627% (+0.05%) from 65.581%
3346

Pull #640

travis-ci

web-flow
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>
Pull Request #640: Fix/639: Add support for handling preflight CORS requests

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

6673 of 10168 relevant lines covered (65.63%)

84.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3346.1 11 Jan 2019 12:45PM UTC 0
65.63
Travis Job 3346.1
Source Files on build 3346
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3346
  • Pull Request #640
  • PR Base - master (#3280)
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