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

gwicke / restbase / 647
93%
master: 92%

Build:
Build:
LAST BUILD BRANCH: update_security_headers
DEFAULT BRANCH: master
Ran 16 Jun 2016 11:37PM UTC
Jobs 5
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
647

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:
    a) the profile parameter does not match, and
    b) either the path (without version) differs, or the expected version is
    higher than the returned version, and
    c) the page has not been re-rendered within the last two minutes.

10 of 10 new or added lines in 1 file covered. (100.0%)

1190 of 1280 relevant lines covered (92.97%)

111.96 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
100.0
lib/mwUtil.js

Uncovered Existing Lines

Lines Coverage ∆ File
4
100.0
lib/mwUtil.js
Jobs
ID Job ID Ran Files Coverage
1 647.1 16 Jun 2016 11:37PM UTC 0
92.97
Travis Job 647.1
2 647.2 16 Jun 2016 11:38PM UTC 0
92.89
Travis Job 647.2
3 647.3 16 Jun 2016 11:38PM UTC 0
92.89
Travis Job 647.3
4 647.4 16 Jun 2016 11:37PM UTC 0
92.89
Travis Job 647.4
5 647.5 16 Jun 2016 11:38PM UTC 0
92.89
Travis Job 647.5
Source Files on build 647
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #647
  • 90b48388 on github
  • Prev Build on content_type_enforcement (#646)
  • Next Build on content_type_enforcement (#653)
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