Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Feature Request for Range support in Drive client.

オープン
#7,817 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
google-cloud, java
領域
api, cloud

調査の方向性

まず Drive クライアントのリクエスト API を見つけ、現在呼び出し側がダウンロード用の HTTP ヘッダーにアクセスしたり調整したりする方法を確認します。バイト範囲をどのように表現すべきかを検証し、リクエストでそれを送信して、手動でリクエストを変更せずに要求した部分ファイルストリームを返せることを確認します。

索引モデルが issue の本文から書いたものです。

説明

priority: p4 type: feature request

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

googleapis/google-api-java-client-services のほかの issue

googleapis/google-api-java-client-services の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。