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

boto / botocore / 2340
97%

Build:
DEFAULT BRANCH: develop
Ran 17 Jan 2018 07:15AM UTC
Jobs 4
Files 25
Run time 34min
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
2340

Pull #780

travis-ci

JordonPhillips
Wrap string bodies as StringIO

There was an issue where young buckets would fail to PUT  when
virtual host addressing was used and when the body was a string of a
few MB. This was because urllib3 will send the body as a separate
request on file-like objects, but not on strings. S3 sends back a
redirect after the initial request. When we're using two requests,
we see the redirect before sending the body. When using small strings,
S3 will redirect it for us. But when using long strings, we will
continue sending data until S3 closes the connection on us, resulting
in an exception.

This commit fixes the issue by wrapping string boddies in a StringIO
object, which is a file-like object.
Pull Request #780: Wrap string bodies as StringIO

392 of 509 relevant lines covered (77.01%)

1.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2340.1 17 Jan 2018 07:15AM UTC 0
50.69
Travis Job 2340.1
2 2340.2 17 Jan 2018 07:18AM UTC 0
74.67
Travis Job 2340.2
3 2340.3 17 Jan 2018 07:45AM UTC 0
77.42
Travis Job 2340.3
4 2340.4 17 Jan 2018 07:49AM UTC 0
Travis Job 2340.4
Source Files on build 2340
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2340
  • Pull Request #780
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