Skip to content

How can I partial download a file with google-drive3? #374

Answered by Byron
Yesterday17 asked this question in Q&A
Discussion options

You must be logged in to vote

It doesn't look like custom headers are support by the method builder, so setting the Range is indeed unsupported unless the API in question has documented special ways of doing that.

As a workaround, I think it should work to stop reading after a couple of bytes and drop the ondoing call, which should be streaming data - for a lack of information here I can't tell as I don't know which method is actually called.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Yesterday17
Comment options

Answer selected by Byron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #370 on October 01, 2022 01:13.