|
Ran
|
Jobs
3
|
Files
1
|
Run time
39s
|
Badge
README BADGES
|
push
travis-ci
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
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 163.1 | 0 |
95.16 |
Travis Job 163.1 | |
| 2 | 163.2 | 0 |
95.16 |
Travis Job 163.2 | |
| 3 | 163.3 | 0 |
95.16 |
Travis Job 163.3 |