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

ralouphie / getallheaders / 44
97%

Build:
DEFAULT BRANCH: master
Ran 16 Jul 2017 05:53AM UTC
Jobs 5
Files 1
Run time 28s
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
44

Pull #2

travis-ci

web-flow
fix an odd Content-Length  & Content-Type bug

 there's a weird bug where these might exist in $_SERVER regardless of wether the client sent these headers or not.
 when they were not sent, they contain emptystring. when they do contain emptystring,
 i prefer to assume that they weren't sent, rather than they were actually sent with emptystring
 (i think no SANE http client sends them with emptystring anyway. a SANE client will send content-length: 0 - not content-length: emptystring)
 ( and afaik its impossible at this point to figure out which is the case)

- observed on Debian 9 with nginx 1.10.3 & php-fpm 7.0.19
Pull Request #2: fix an odd Content-Length & Content-Type bug

6 of 6 new or added lines in 1 file covered. (100.0%)

32 of 33 relevant lines covered (96.97%)

31.85 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/getallheaders.php
Jobs
ID Job ID Ran Files Coverage
1 44.1 16 Jul 2017 05:54AM UTC 0
93.94
Travis Job 44.1
2 44.2 16 Jul 2017 05:53AM UTC 0
93.94
Travis Job 44.2
3 44.3 16 Jul 2017 05:53AM UTC 0
93.94
Travis Job 44.3
4 44.4 16 Jul 2017 05:53AM UTC 0
93.94
Travis Job 44.4
5 44.5 16 Jul 2017 05:53AM UTC 0
100.0
Travis Job 44.5
Source Files on build 44
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #44
  • Pull Request #2
  • PR Base - master (#41)
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