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

craigcitro / apitools
88%
master: 89%

Build:
Build:
LAST BUILD BRANCH: dedep
DEFAULT BRANCH: master
Repo Added 12 Dec 2014 06:11PM UTC
Files 59
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 bounds
branch: bounds
CHANGE BRANCH
x
Reset
  • bounds
  • adc
  • binary_py3
  • callbacks
  • chunked_download
  • cleanup
  • cleanup_tox
  • dedep
  • doubled
  • encoding
  • encoding_bug
  • fastlint
  • fix
  • fix_coverage
  • flags
  • gce_cleanup
  • gen_client_fix
  • genpip
  • internal_hooks
  • lint
  • master
  • metaclass
  • metadata
  • mimetype
  • more_pip
  • morelogging
  • oauth2client
  • oauth2l
  • protorpc_lite
  • py35
  • register_creds
  • release
  • scopes_arg
  • service
  • six_dep
  • storage_cleanup
  • trav
  • urls
  • utilfix
  • v0.4.1
  • v0.4.10
  • v0.4.11
  • v0.4.2
  • v0.4.3
  • v0.4.4
  • v0.4.8
  • v0.4.9
  • v0.5.0
  • v0.5.1
  • v0.5.2
  • v0.5.4

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

Relevant lines Covered
Build:
Build:
9418 RELEVANT LINES 8266 COVERED LINES
0.88 HITS PER LINE
Source Files on bounds
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
222 bounds 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. Th... push 22 Aug 2017 07:44AM UTC craigcitro travis-ci pending completion  
See All Builds (201)
  • 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