-
Notifications
You must be signed in to change notification settings - Fork 209
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
Object metadata should be optional in resumable uploads #332
Labels
Comments
8 tasks
martinzink
added a commit
to martinzink/fake-gcs-server
that referenced
this issue
Feb 24, 2022
martinzink
added a commit
to martinzink/fake-gcs-server
that referenced
this issue
Feb 24, 2022
martinzink
added a commit
to martinzink/fake-gcs-server
that referenced
this issue
Mar 1, 2022
martinzink
added a commit
to martinzink/fake-gcs-server
that referenced
this issue
Mar 1, 2022
added cpp examples
martinzink
added a commit
to martinzink/fake-gcs-server
that referenced
this issue
Mar 2, 2022
added cpp examples
fsouza
added a commit
that referenced
this issue
Mar 8, 2022
* Object metadata should be optional in resumable uploads #332 added cpp examples * Update fakestorage/upload.go Co-authored-by: fsouza <108725+fsouza@users.noreply.github.com> * added cpp to ci * change google-cloud-cpp to release v1.37.0 * retain err check with smaller scope resumableUpload tests without initial body Co-authored-by: fsouza <108725+fsouza@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When starting a resumable upload the body with object metadata is optional. And at least the C++ client library takes advantage of this. The documentation is not explicit, but there are examples in the documentation that do not use a body:
https://cloud.google.com/storage/docs/performing-resumable-uploads#json-api
An equivalent request fails with
fake-gcs-server
:The text was updated successfully, but these errors were encountered: