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

craigcitro / apitools / 222 / 1
88%
master: 89%

Build:
Build:
LAST BUILD BRANCH: dedep
DEFAULT BRANCH: master
Ran 22 Aug 2017 07:44AM UTC
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

22 Aug 2017 07:40AM UTC coverage: 87.768%. First build
TOX_ENV=py27

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%)

8266 of 9418 relevant lines covered (87.77%)

0.88 hits per line

Source Files on job 222.1 (TOX_ENV=py27)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 222
  • Travis Job 222.1
  • 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

© 2026 Coveralls, Inc