storage: content-type condition does not appear in generated V4 post policy #2767
Labels
api: storage
Issues related to the Cloud Storage API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Client
Storage
Code
e.g.
Expected behavior
The provided
Content-Type
should be included as a condition in the signed policy, per https://cloud.google.com/storage/docs/xml-api/post-object.Actual behavior
The provided
Content-Type
is not included in the signed policy. Example resulting policy:The text was updated successfully, but these errors were encountered: