Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4e994b0

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎storage/signed_urls/generate_signed_urls.py

Copy file name to clipboardExpand all lines: storage/signed_urls/generate_signed_urls.py
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.