Feature Request for Range support in Drive client.
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
まず Drive クライアントのリクエスト API を見つけ、現在呼び出し側がダウンロード用の HTTP ヘッダーにアクセスしたり調整したりする方法を確認します。バイト範囲をどのように表現すべきかを検証し、リクエストでそれを送信して、手動でリクエストを変更せずに要求した部分ファイルストリームを返せることを確認します。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Java
- スター
- 725
- フォーク
- 394
- 平均マージ
- 45分
- マージ済み PR(30日)
- 240
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
googleapis/google-api-java-client-services のほかの issue
-
priority: p3 type: docs
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
priority: p3 type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 50/100
googleapis/google-api-java-client-services#29581 · コメント 2 件 ·
-
priority: p3 type: feature request
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
googleapis/google-api-java-client-services#29317 · コメント 1 件 ·
-
priority: p3 type: bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
googleapis/google-api-java-client-services#26505 · コメント 7 件 · リアクション 1 件 ·
googleapis/google-api-java-client-services の issue をすべて見る
似ている issue
-
certification
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's オープンbug ecr
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Needs: Triage Type: Feature request
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
AntennaPod/AntennaPod#8794 ·
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
github/copilot-sdk#2760 ·