fix(storage): add content type, disposition and encoding in v4 storage post policy#2769
Conversation
|
Hi @pierreis, Thanks for finding this gap! I will need to update our conformance tests to include these fields (https://github.com/googleapis/conformance-tests/tree/master/storage/v1) before we can merge this in. I'll keep you posted. After the conformance tests are updated then you'll need to update the following file: |
Thanks @frankyn . I'm happy to manage getting the conformance test in when you have it ready. |
This was recently added to conformance-tests to catch the case that was noticed in googleapis#2767. We can remove the skip in the open PR meant to fix that issue (googleapis#2769).
|
I added in the required conformance test. @pierreis could you update this PR to remove the skip here: https://github.com/googleapis/google-cloud-go/blob/master/storage/conformance_test.go#L45 ? Then we can verify that this change makes the conformance test pass. |
|
@tritone Thank you for the updates! I see that you have already pushed the changes 🙂 |
Yes, I want to get this released soon so figured I'd push it along. :) Thanks again for noticing the issue and sending a PR! The conformance test is failing currently due to how the conditions are sorted. Following up to see whether the test or the code needs to change here. I should have a fix soon. |
Pick up fixes to conformance tests that cover encoding edge cases and condition ordering for V4 signature and post policy. This will unblock googleapis#2769.
Pick up fixes to conformance tests that cover encoding edge cases and condition ordering for V4 signature and post policy. This will unblock #2769.
In googleapis#2769 we neglected to add these conditions to the returned policyFields that the end user uses to populate the request. This resulted in an integration test failing. This PR fixes the issue. Fixes googleapis#2882
This merge request adds content type, disposition and encoding in storage post policy. These conditions were present in the
PolicyV4Fields, but ignored.Fixes #2767.