Skip to content

Commit

Permalink
Update Smithy RestJson1 content-type tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nateprewitt authored and JordonPhillips committed Oct 19, 2021
1 parent 0921be1 commit 0261d97
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ apply TestPayloadStructure @httpRequestTests([
documentation: "Serializes an request with header members but no payload",
protocol: restJson1,
method: "POST",
uri: "/body",
uri: "/payload",
body: "{}",
bodyMediaType: "application/json",
headers: {
Expand Down Expand Up @@ -196,9 +196,6 @@ apply TestPayloadBlob @httpRequestTests([
headers: {
"Content-Type": "application/octet-stream"
},
requireHeaders: [
"Content-Length"
],
params: {}
}
])
Expand All @@ -209,10 +206,8 @@ apply TestPayloadBlob @httpRequestTests([
documentation: "Serializes a payload targeting a blob",
protocol: restJson1,
method: "POST",
uri: "/payload_blob",
body: """
1234
""",
uri: "/blob_payload",
body: "1234",
bodyMediaType: "image/jpg",
headers: {
"Content-Type": "image/jpg"
Expand Down

0 comments on commit 0261d97

Please sign in to comment.