Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't raise when downloading zero byte files #1074

Merged
merged 1 commit into from Oct 22, 2020

Conversation

busunkim96
Copy link
Contributor

Don't raise on 416 Range Not Satisfied if there is no content to download. This is similar to fix in resumable media googleapis/google-resumable-media-python#86.

Fixes #638

@busunkim96 busunkim96 requested a review from a team as a code owner October 22, 2020 00:09
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 22, 2020
@busunkim96 busunkim96 merged commit 86d8788 into googleapis:master Oct 22, 2020
gcf-merge-on-green bot pushed a commit that referenced this pull request Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HttpError 400 on uploading 0 bytes files, 416 on downloading 0 bytes files
2 participants