Adding optional content type argument to generate signed URI method#1447
Conversation
|
Appveyor build failing is covered on #1434. |
gcloud/storage/blob.py
Outdated
| response_type=None, response_disposition=None, | ||
| generation=None): | ||
| def generate_signed_url(self, expiration, method='GET', client=None, | ||
| content_type="application/octet-stream", |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
|
@googlebot Check CLA again, please. |
gcloud/storage/blob.py
Outdated
| client=None, credentials=None, | ||
| response_type=None, response_disposition=None, | ||
| generation=None): | ||
| content_type='application/octet-stream', |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
CLAs look good, thanks! |
|
@cyluss can you please add a unit test to |
|
@tseaver Here you are. I appreciate for your feedback. |
|
LGTM. @dhermes do I recall correctly that you meant to be turning off Appveyor for PRs? |
|
@tseaver I have set "Branches to build: Only branches specified below" to |
Adding optional content type argument to generate signed URI method
|
Thanks very much, @cyluss! |
|
@tseaver Your team gave me great experience. Thank you. |
Without this fix the current compute engine tests are failing. Also 3 other APIs in googleapis would have failed if grpc+rest transport was enabled on them.
* fix: Ensure that refresh worker is pickle-able.
🤖 I have created a release *beep* *boop* --- ## [2.26.1](https://togithub.com/googleapis/google-auth-library-python/compare/v2.26.0...v2.26.1) (2024-01-03) ### Bug Fixes * Ensure that refresh worker is pickle-able. ([#1447](https://togithub.com/googleapis/google-auth-library-python/issues/1447)) ([421c184](https://togithub.com/googleapis/google-auth-library-python/commit/421c184ff4654024afe3e64754318a6be0cc96fc)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
Fix for #1429. Using default content type as
application/octet-stream.