Skip to content

Commit

Permalink
z
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc committed Jul 3, 2023
1 parent e07486a commit e86fb18
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/aws/credential.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,12 @@ impl Loader {
let mut req = self
.client
.post(&url)
.header(
http::header::CONTENT_TYPE.as_str(),
"application/x-www-form-urlencoded",
)
// .header(
// http::header::CONTENT_TYPE.as_str(),
// "application/x-www-form-urlencoded",
// )
.build()?;
signer.sign_query(&mut req, Duration::from_secs(3600), &cred)?;
signer.sign(&mut req, &cred)?;
debug!("request to AWS STS Services: {:?}", req);

let resp = self.client.execute(req).await?;
Expand Down

0 comments on commit e86fb18

Please sign in to comment.