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

koajs / cash / 163
95%

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

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

27.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 163.1 24 Feb 2017 02:55PM UTC 0
95.16
Travis Job 163.1
2 163.2 24 Feb 2017 02:55PM UTC 0
95.16
Travis Job 163.2
3 163.3 24 Feb 2017 02:56PM UTC 0
95.16
Travis Job 163.3
Source Files on build 163
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #163
  • 890ce272 on github
  • Prev Build on master (#153)
  • Next Build on master (#164)
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