Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit 7e1049e

Browse files
committed
fix: removes content-header-from-aws-get
1 parent 35670fc commit 7e1049e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google/auth/aws.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ def _get_metadata_security_credentials(
530530
google.auth.exceptions.RefreshError: If an error occurs while
531531
retrieving the AWS security credentials.
532532
"""
533-
headers = {"Content-Type": "application/json"}
533+
headers = None
534534
if imdsv2_session_token is not None:
535535
headers["X-aws-ec2-metadata-token"] = imdsv2_session_token
536536

0 commit comments

Comments
 (0)