File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
packages/signature-v4/src Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ export const ALWAYS_UNSIGNABLE_HEADERS = {
30
30
"transfer-encoding" : true ,
31
31
upgrade : true ,
32
32
"user-agent" : true ,
33
- "x-amz-user-agent" : true ,
34
33
"x-amzn-trace-id" : true
35
34
} ;
36
35
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ describe("getCanonicalHeaders", () => {
31
31
protocol : "https:" ,
32
32
path : "/" ,
33
33
headers : {
34
+ "x-amz-user-agent" : "aws-sdk-js-v3" ,
34
35
host : "foo.us-east-1.amazonaws.com" ,
35
36
foo : "bar"
36
37
} ,
@@ -41,6 +42,7 @@ describe("getCanonicalHeaders", () => {
41
42
}
42
43
43
44
expect ( getCanonicalHeaders ( request ) ) . toEqual ( {
45
+ "x-amz-user-agent" : "aws-sdk-js-v3" ,
44
46
host : "foo.us-east-1.amazonaws.com" ,
45
47
foo : "bar"
46
48
} ) ;
You can’t perform that action at this time.
0 commit comments