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

gwicke / restbase / 654 / 2
93%
master: 92%

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

31 Aug 2016 11:22PM UTC coverage: 92.962%. Remained the same
654.2

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%)

22.51 hits per line

Source Files on job 654.2
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 654
  • Travis Job 654.2
  • 9d576671 on github
  • Prev Job for on content_type_enforcement (#653.2)
  • Next Job for on content_type_enforcement (#656.2)
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