storage: Misleading Documentation #11305
Labels
api: storage
Issues related to the Cloud Storage API.
type: question
Request for information or clarification. Not an issue.
google-cloud-go/storage/storage.go
Line 425 in 1a04baf
In here the ContentType is marked as "Optional", when in fact, if left blank the only content type accepted for the signed url is the empty string (""). To me, optional sounds a bit more like "if you omit it anything goes.", rather than "only empty strings are accepted".
The text was updated successfully, but these errors were encountered: