Skip to content

Commit

Permalink
Revert escape changes for timestamp header serialization
Browse files Browse the repository at this point in the history
The `http-date` timestampFormat is unambigous in terms of where commas
are located, so do not need escaping according to RFC 7230 sec 3.2.6.
  • Loading branch information
gosar committed Dec 20, 2021
1 parent 45fbc9d commit b6bf60e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smithy-aws-protocol-tests/model/restJson1/http-headers.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ apply InputAndOutputWithHeaders @httpRequestTests([
method: "POST",
uri: "/InputAndOutputWithHeaders",
headers: {
"X-TimestampList": "\"Mon, 16 Dec 2019 23:48:18 GMT\", \"Mon, 16 Dec 2019 23:48:18 GMT\""
"X-TimestampList": "Mon, 16 Dec 2019 23:48:18 GMT, Mon, 16 Dec 2019 23:48:18 GMT"
},
body: "",
params: {
Expand Down Expand Up @@ -261,7 +261,7 @@ apply InputAndOutputWithHeaders @httpResponseTests([
protocol: restJson1,
code: 200,
headers: {
"X-TimestampList": "\"Mon, 16 Dec 2019 23:48:18 GMT\", \"Mon, 16 Dec 2019 23:48:18 GMT\""
"X-TimestampList": "Mon, 16 Dec 2019 23:48:18 GMT, Mon, 16 Dec 2019 23:48:18 GMT"
},
params: {
headerTimestampList: [1576540098, 1576540098]
Expand Down

0 comments on commit b6bf60e

Please sign in to comment.