Feature Request for Range support in Drive client.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by locating the Drive client request API and reviewing how callers currently access or adjust HTTP headers for downloads. Verify how a byte range should be represented, then confirm that a request can send it and return the requested partial file stream without manual request modification.
Written by the indexing model from the issue text.
Description
Hello,
I am currently using the Drive client and I am trying to do a partial file download stored on a Google Drive account. After spending a few hours I found this as the solution to add the range to the HTTP header manually.
I was wondering if the Drive client could support adding the range header to the request itself. The reason is manually touching the HTTP request before sending it increases the likeliness of introducing a bug and generally forces me(the user of the client) to go deeper than I would like too. In general I would say that it is in within the scope of the client to support the adjustment of the HTTP headers being sent to the back-end.
As an example consider the S3Client that Amazon is currently exposing this.s3Client.getObject(this.getSkeleton.withRange(part.getStart(), part.getEnd()));. From here I would then actually execute the request and get a stream to that range of the file.
I am not sure if this is entirely out of scope or not so please let me know if this makes sense.
Thank you.
- Dominant language
- Java
- Stars
- 725
- Forks
- 394
- Avg merge
- 42m
- Merged PRs (30d)
- 257
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from googleapis/google-api-java-client-services
-
priority: p3 type: docs
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
priority: p3 type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
googleapis/google-api-java-client-services#29581 · 2 comments ·
-
priority: p3 type: feature request
Difficulty 4/5 3-5 days Newbie friendliness 38/100
googleapis/google-api-java-client-services#29317 · 1 comment ·
-
priority: p3 type: bug
Difficulty 5/5 Over a week Newbie friendliness 35/100
googleapis/google-api-java-client-services#26505 · 7 comments · 1 reaction ·
-
priority: p3 type: bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in googleapis/google-api-java-client-services
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
elastic/gradle-plugins#157 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
cryptomator/hub#497 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
johanhaleby/occurrent#1120 ·