Skip to content

Commit

Permalink
Remove header from empty payload test
Browse files Browse the repository at this point in the history
When a header is bound to a member, it should be set in both params and
headers or in neither. Other empty blob tests do not set a Content-Type
header.
  • Loading branch information
adamthom-amzn committed Jun 21, 2024
1 parent 1249c68 commit 09e1aec
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,7 @@ apply TestPayloadBlob @httpRequestTests([
uri: "/blob_payload",
body: "",
bodyMediaType: "application/octet-stream",
headers: {
"Content-Type": "application/octet-stream"
},
headers: {},
params: {}
}
])
Expand Down

0 comments on commit 09e1aec

Please sign in to comment.