Skip to content

Commit

Permalink
fix: remove content-type from signedHeaders in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Mar 19, 2020
1 parent c53b729 commit 5631d87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/signature-v4/src/suite.fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ export const requests: Array<TestCase> = [
path: "/"
},
authorization:
"AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=ff11897932ad3f4e8b18135d722051e5ac45fc38421b1da7b9d196a0fe09473a"
"AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=ff11897932ad3f4e8b18135d722051e5ac45fc38421b1da7b9d196a0fe09473a"
},
{
name: "post-x-www-form-urlencoded-parameters",
Expand All @@ -431,6 +431,6 @@ export const requests: Array<TestCase> = [
path: "/"
},
authorization:
"AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=1a72ec8f64bd914b0e42e42607c7fbce7fb2c7465f63e3092b3b0d39fa77a6fe"
"AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=1a72ec8f64bd914b0e42e42607c7fbce7fb2c7465f63e3092b3b0d39fa77a6fe"
}
];

0 comments on commit 5631d87

Please sign in to comment.