Skip to content

Update V4 Signature snippet #2496

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

Merged
merged 4 commits into from
Oct 25, 2019
Merged

Update V4 Signature snippet #2496

merged 4 commits into from
Oct 25, 2019

Conversation

frankyn
Copy link
Contributor

@frankyn frankyn commented Oct 24, 2019

cc: @houglum

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 24, 2019
@@ -73,7 +71,8 @@ def generate_signed_url(service_account_file, bucket_name, object_name,
if headers is None:
headers = dict()
# [START storage_signed_url_canonical_headers]
headers['host'] = 'storage.googleapis.com'
host = 'storage.googleapis.com'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should include the bucket at the front.

@frankyn frankyn requested a review from kurtisvg October 24, 2019 20:11
@frankyn
Copy link
Contributor Author

frankyn commented Oct 24, 2019

Missing Python reviewer approval.

@frankyn frankyn merged commit 9899b55 into master Oct 25, 2019
@anguillanneuf anguillanneuf deleted the update-signature-snippet branch March 19, 2020 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants