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

Humanstate / business-gocardless / 107
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 14 Dec 2018 08:11AM UTC
Jobs 8
Files 21
Run time 2min
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
107

push

travis-ci

leejo
fix #13 - always have Content-Length header on POST/PUT

even when there is no content - this seems to be enforced by something
in Google App Engine as the original IETF RFCs[1] state that the
Content-Length SHOULD be included (i.e. not MUST be included) and
GoCardless have recently moved to Google Cloud[2] and Google have
tightened up their requirements so now POST/PUT requests with no
Content-Length are receiving a "Error 411 (Length Required)!!1" error

arguably this is a bug in whatever Google are doing - lack of a
Content-Length could be taken as zero content length (or, i suppose, an
unknown length), as per the original RFCs, and it probably shouldn't
break a shit load of client code that was working before

this could possibly be pushed down as a patch into LWP, but there is the
possibility that doing *that* will cause other problems because :shrug:
software

bump VERSION and Changes for CPAN release

[1] https://tools.ietf.org/html/rfc7230#section-3.3.2

[2] "That's correct, we did move to Google Cloud earlier this year. I'm
sorry that this caused an issue with your integration, but I'm glad that
you managed to resolve the problem.

    Apologies for the lack of a heads up, unfortunately this is
something that was overlooked as it seems most clients send the header
through by default.

    – GoCardless Support"

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

477 of 490 relevant lines covered (97.35%)

211.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 107.1 14 Dec 2018 08:11AM UTC 0
97.03
Travis Job 107.1
2 107.2 14 Dec 2018 08:12AM UTC 0
97.03
Travis Job 107.2
3 107.3 14 Dec 2018 08:12AM UTC 0
97.09
Travis Job 107.3
4 107.4 14 Dec 2018 08:13AM UTC 0
97.09
Travis Job 107.4
5 107.5 14 Dec 2018 08:13AM UTC 0
97.09
Travis Job 107.5
6 107.6 14 Dec 2018 08:13AM UTC 0
97.09
Travis Job 107.6
7 107.7 14 Dec 2018 08:13AM UTC 0
97.09
Travis Job 107.7
8 107.8 14 Dec 2018 08:14AM UTC 0
97.09
Travis Job 107.8
Source Files on build 107
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #107
  • 038ce2fd 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