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

Humanstate / business-gocardless
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Repo Added 12 May 2016 03:04PM UTC
Files 20
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 v0.32
branch: v0.32
CHANGE BRANCH
x
Reset
  • v0.32
  • master
  • v0.14
  • v0.15
  • v0.16
  • v0.18
  • v0.19
  • v0.20
  • v0.21
  • v0.22
  • v0.23
  • v0.24
  • v0.25
  • v0.26
  • v0.27
  • v0.28
  • v0.29
  • v0.30
  • v0.33
  • v0.34
  • v0.35

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

Relevant lines Covered
Build:
Build:
490 RELEVANT LINES 477 COVERED LINES
211.98 HITS PER LINE
Source Files on v0.32
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
107 v0.32 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 in... push 14 Dec 2018 08:11AM UTC leejo travis-ci pending completion  
See All Builds (55)
  • 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