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

gwicke / restbase / 645
93%
master: 92%

Build:
Build:
LAST BUILD BRANCH: update_security_headers
DEFAULT BRANCH: master
Ran 16 Jun 2016 10:22PM UTC
Jobs 4
Files 18
Run time 1min
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

pending completion
645

push

travis-ci

gwicke
Create a simple content-type enforcement filter

This patch adds a simple content-type check & enforcement filter, which

1) compares the returned content-type with the first entry of the `produces`
   array in the route spec, and
2) repeats the request with `no-cache` header set if the content-type
   mis-matches.

1188 of 1274 relevant lines covered (93.25%)

90.2 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
3
100.0
sys/key_value.js
4
100.0
lib/normalize_title_filter.js
4
100.0
sys/events.js
6
100.0
lib/mwUtil.js
6
100.0
sys/page_revisions.js
7
100.0
sys/mathoid.js
13
100.0
sys/parsoid.js
Jobs
ID Job ID Ran Files Coverage
1 645.1 16 Jun 2016 10:24PM UTC 0
93.25
Travis Job 645.1
2 645.2 16 Jun 2016 10:23PM UTC 0
93.25
Travis Job 645.2
3 645.3 16 Jun 2016 10:22PM UTC 0
93.25
Travis Job 645.3
5 645.5 16 Jun 2016 10:22PM UTC 0
93.25
Travis Job 645.5
Source Files on build 645
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #645
  • 60912fdf on github
  • Prev Build on content_type_enforcement (#594)
  • Next Build on content_type_enforcement (#646)
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