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

koajs / cash / 163 / 1
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 24 Feb 2017 02:55PM UTC
Files 1
Run time 0s
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

24 Feb 2017 02:52PM UTC coverage: 95.161%. Remained the same
163.1

push

travis-ci

lbeschastny
fix missing content-type bug (#45)

* fix missing content-type bug

setting response.status to 304 removes the 'content-type' header as a side effect (see https://github.com/koajs/koa/blob/a293cc2d5/test/response/status.js#L120)

When the first request of a path that is 'fresh', the browser that makes the request will not suffer an issue, but a subsequent request from another browser (who doesn't have a cached result) will get a cached result without the content type.

The fix simply delays setting of response.status until after extracting the content type.

* fix 'standard' issue

59 of 62 relevant lines covered (95.16%)

9.0 hits per line

Source Files on job 163.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 163
  • Travis Job 163.1
  • 890ce272 on github
  • Prev Job for on master (#153.1)
  • Next Job for on master (#164.1)
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