Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Smithy RestJson1 content-type tests #945

Merged
merged 1 commit into from Oct 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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