-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(storage): improve v4 signature query parameters encoding #48
Conversation
@IlyaFaer this LGTM, but please update relevant conformance tests before merging this code to confirm that it's working as expected. I updated conformance tests in https://github.com/googleapis/conformance-tests/tree/master/storage/v1 If you have questions PLMK. Specifically for this change you should rely on the following two conformance tests:
|
This PR also addresses part of the change for #12. |
Friendly ping and pending Kokoro passing. |
Merging when green. |
Pending approval from @tseaver as there is on-going discussion. |
@tseaver friendly ping |
Reviewed, attempted to remove coercion, but due to truthiness of bytes and strs in python 2 I am going to approve this.
…apis#48) * feat(storage): improve v4 signature query parameters encoding * add URL encoding test * add query_parameters arg into conformance tests * add tests for _quote_param() function * declare test file encoding * fix the param type * add test with bytes * Update _signing.py Co-authored-by: Frank Natividad <frankyn@users.noreply.github.com> Co-authored-by: Christopher Wilcox <crwilcox@google.com>
…apis#48) * feat(storage): improve v4 signature query parameters encoding * add URL encoding test * add query_parameters arg into conformance tests * add tests for _quote_param() function * declare test file encoding * fix the param type * add test with bytes * Update _signing.py Co-authored-by: Frank Natividad <frankyn@users.noreply.github.com> Co-authored-by: Christopher Wilcox <crwilcox@google.com>
Closes #9