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

adds support for metadata during object creation #287

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

Conversation

CNDW
Copy link

@CNDW CNDW commented Sep 13, 2024

New objects being created via the google.cloud.storage.Blob api that have had metadata set on the object via blob.metadata are not having the metadata persisted in the emulator.

The upload process from the google cloud library initiates the upload with a POST to /b/(?P<bucket_name>)/o?uploadType=resumable with a Content-Type: application/json header the metadata stored in the payload. The emulator is pulling the object name from the payload but it is not piping the metadata through to object creation

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