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

craigcitro / apitools / 222
88%
master: 89%

Build:
Build:
LAST BUILD BRANCH: dedep
DEFAULT BRANCH: master
Ran 22 Aug 2017 07:44AM UTC
Jobs 1
Files 60
Run time 3s
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
222

push

travis-ci

craigcitro
Fix a bad bounds check for downloads.

Previously, if we created a download with `auto_transfer=True` with the full
download smaller than the default `chunksize`, and then called
`StreamInChunks`, we'd end up downloading the full content twice. This was due
to a bad bounds check in setting a range header -- we'd end up with a header
like `Range: bytes=100-99`, and the server would ignore the start value,
giving us all the bytes again.

This adds a fix and a test.

1722 of 2307 branches covered (74.64%)

22 of 22 new or added lines in 2 files covered. (100.0%)

8266 of 9418 relevant lines covered (87.77%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 222.1 (TOX_ENV=py27) 22 Aug 2017 07:44AM UTC 0
87.77
Travis Job 222.1
Source Files on build 222
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #222
  • 9e706f9e 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