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

gwicke / restbase / 594
93%
master: 92%

Build:
Build:
LAST BUILD BRANCH: update_security_headers
DEFAULT BRANCH: master
Ran 05 Apr 2016 10:46PM UTC
Jobs 3
Files 17
Run time 3min
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
594

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.

1140 of 1226 relevant lines covered (92.99%)

69.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 594.1 05 Apr 2016 10:46PM UTC 0
92.99
Travis Job 594.1
3 594.3 05 Apr 2016 10:49PM UTC 0
92.99
Travis Job 594.3
5 594.5 05 Apr 2016 10:49PM UTC 0
92.99
Travis Job 594.5
Source Files on build 594
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #594
  • 320833d1 on github
  • Prev Build on content_type_enforcement (#593)
  • Next Build on content_type_enforcement (#645)
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