-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Not able to set cache-control
while uploading blobs. I tried this.
foo_blob = bucket.blob('sample.txt')
foo_blob.cache_control = 3600
foo_blob.content_type = 'text/plain'
foo_blob.upload_from_string('Sample Text')
But after uploading the property foo_blob.cache_control
gets set to None
again.
Metadata
Metadata
Assignees
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.