feat(gax): implement startUpload in HttpJsonResumableUploadClient - #14139
feat(gax): implement startUpload in HttpJsonResumableUploadClient#14139whowes wants to merge 1 commit into
Conversation
8d52acf to
7df9201
Compare
|
/gemini review |
7df9201 to
4253855
Compare
There was a problem hiding this comment.
Code Review
This pull request introduces HttpJsonResumableUploadClient to support resumable uploads over HTTP/JSON, along with a comprehensive suite of unit tests. The feedback suggests validating that the parsed chunk granularity is strictly positive to prevent potential arithmetic errors or infinite loops.
4253855 to
798876d
Compare
|
|




The implementation uses a custom
HttpJsonClientCall.Listenerto extractX-Goog-Upload-URLandX-Goog-Upload-Chunk-Granularityheaders to be returned in aResumableUploadSession.