8000 Fix casing of X-Goog-Signature (#2035) · renxiaoming/python-docs-samples@4e994b0 · GitHub
[go: up one dir, main page]

8000
Skip to content

Commit 4e994b0

Browse files
authored
Fix casing of X-Goog-Signature (GoogleCloudPlatform#2035)
1 parent f6a5f44 commit 4e994b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/signed_urls/generate_signed_urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def generate_signed_url(service_account_file, bucket_name, object_name,
138138

139139
# [START storage_signed_url_construction]
140140
host_name = 'https://storage.googleapis.com'
141-
signed_url = '{}{}?{}&x-goog-signature={}'.format(host_name, canonical_uri,
141+
signed_url = '{}{}?{}&X-Goog-Signature={}'.format(host_name, canonical_uri,
142142
canonical_query_string,
143143
signature)
144144
# [END storage_signed_url_construction]

0 commit comments

Comments
 (0)
0