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

gwicke / restbase / 654
93%
master: 92%

Build:
Build:
LAST BUILD BRANCH: update_security_headers
DEFAULT BRANCH: master
Ran 31 Aug 2016 11:26PM UTC
Jobs 4
Files 18
Run time 2min
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
654

push

travis-ci

Pchelolo
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.

1202 of 1293 relevant lines covered (92.96%)

90.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 654.1 31 Aug 2016 11:26PM UTC 0
92.96
Travis Job 654.1
2 654.2 31 Aug 2016 11:28PM UTC 0
92.96
Travis Job 654.2
3 654.3 31 Aug 2016 11:28PM UTC 0
92.96
Travis Job 654.3
4 654.4 31 Aug 2016 11:28PM UTC 0
92.96
Travis Job 654.4
Source Files on build 654
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #654
  • 9d576671 on github
  • Prev Build on content_type_enforcement (#653)
  • Next Build on content_type_enforcement (#656)
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