We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5069e8a commit 2785d2fCopy full SHA for 2785d2f
packages/signature-v4/src/constants.ts
@@ -30,7 +30,6 @@ export const ALWAYS_UNSIGNABLE_HEADERS = {
30
"transfer-encoding": true,
31
upgrade: true,
32
"user-agent": true,
33
- "x-amz-user-agent": true,
34
"x-amzn-trace-id": true
35
};
36
packages/signature-v4/src/getCanonicalHeaders.spec.ts
@@ -31,6 +31,7 @@ describe("getCanonicalHeaders", () => {
protocol: "https:",
path: "/",
headers: {
+ "x-amz-user-agent": "aws-sdk-js-v3",
host: "foo.us-east-1.amazonaws.com",
foo: "bar"
37
},
@@ -41,6 +42,7 @@ describe("getCanonicalHeaders", () => {
41
42
}
43
44
expect(getCanonicalHeaders(request)).toEqual({
45
46
47
48
});
0 commit comments