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

ralouphie / getallheaders
97%

Build:
DEFAULT BRANCH: master
Repo Added 02 Jun 2014 09:06PM UTC
Files 1
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • 0.1.0
  • 0.1.5
  • 0.1.6
  • 0.1.7
  • 1.0.0
  • 2.0.0
  • 2.0.1
  • 2.0.2
  • 2.0.3
  • 2.0.4
  • 2.0.5
  • develop

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

Relevant lines Covered
Build:
Build:
33 RELEVANT LINES 32 COVERED LINES
31.85 HITS PER LINE
Source Files on master
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
44 master 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 emptystrin... Pull #2 16 Jul 2017 05:53AM UTC web-flow travis-ci pending completion  
43 master 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 emptystrin... Pull #2 14 Jul 2017 06:27PM UTC web-flow travis-ci pending completion  
41 master Added PHP 5.6 to .travis.yml. push 11 Feb 2016 07:08AM UTC ralouphie travis-ci pending completion  
39 master Changed Content-MD5 to Content-Md5 for consistency. push 11 Feb 2016 06:55AM UTC ralouphie travis-ci pending completion  
37 master Updated readme.md with PHP version. push 11 Feb 2016 06:35AM UTC ralouphie travis-ci pending completion  
35 master Added PHP 7.0 to .travis.yml. push 11 Feb 2016 06:32AM UTC ralouphie travis-ci pending completion  
33 master PHP 5.3 array syntax. push 11 Feb 2016 06:27AM UTC ralouphie travis-ci pending completion  
31 master Fix for HTTP_* values with explicit copy entries. push 11 Feb 2016 06:25AM UTC ralouphie travis-ci pending completion  
29 master Added more headers (auth and content-md5). - Added Content-MD5 header. - Added check for REDIRECT_HTTP_AUTHORIZATION - Added check for PHP_AUTH_USER + PHP_AUTH_PW - Added check for PHP_AUTH_DIGEST push 11 Feb 2016 06:20AM UTC ralouphie travis-ci pending completion  
27 master Updated install instructions. push 29 Jan 2016 08:41PM UTC ralouphie travis-ci pending completion  
See All Builds (43)
  • Repo on GitHub
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

© 2025 Coveralls, Inc