Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: experiment with multipart upload #19058

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

diegomarquezp
Copy link
Contributor

@diegomarquezp diegomarquezp commented Dec 8, 2023

This demonstrates that direct upload is not "respected" if we use the following suggestion

mediaHttpUploader.setDirectUploadEnabled(true);

The logger shows both requests with ?uploadType=multipart

The discovery doc specifies that this request is multipart - is this a source of truth for such query parameter?
https://github.com/googleapis/discovery-artifact-manager/blob/65960c92c2e54aea903300a77515836670306dc6/toolkit/src/test/java/com/google/api/codegen/testsrc/discoveries/storage.v1.json#L2388-L2396

This demonstrates that direct upload is not "respected" if we use
```
mediaHttpUploader.setDirectUploadEnabled(true);
```

The logger shows both requests with `?uploadType=multipart`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant