Skip to content

adds support for metadata during object creation#287

Open
CNDW wants to merge 1 commit intooittaa:mainfrom
CNDW:object-metadata
Open

adds support for metadata during object creation#287
CNDW wants to merge 1 commit intooittaa:mainfrom
CNDW:object-metadata

Conversation

@CNDW
Copy link
Copy Markdown

@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