Skip to content

Storage: Blob.compose doesn't use default content_type #5834

@rasmi

Description

@rasmi

Blob.compose does not use the self._get_content_type method, which means Blob.compose raises an error if the content_type is not explicitly specified. This is documented behavior, but is it intended behavior? Should compose use self._get_content_type to use the default type, or perhaps infer the type from the blobs being composed?

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions