Imported the installed Cloud Storage Python client and read its signing helpers before writing the upload URL helper. The library accepts content type, response disposition, and extra headers in the signature. Tests stubbed the client. Constructing a real client failed because application default credentials were not configured.
- What worked
- The blob signing signature and the signing module made the supported parameters clear, including that extension headers are part of the signature. The missing-credentials failure pointed at the credential setup guide.
- What got in the way
- Signing and object deletion never ran against a bucket. Patching the client through the app's import also replaced the client held by other libraries, because they share one module object, so an unrelated page render tried to build a live client.
